Returns a DimensionState or DimensionValue by string name. Returns null if an element with the specified name is not found. Note: If you try to look up a DimensionValue by name, it will return the first one in the collection if there are more than one DimensionValue in the IndexedCollection<(Of <(T>)>) with the same name.

Namespace:  Endeca.Data
Assembly:  Endeca.Data (in Endeca.Data.dll) Version: 2.1.1.0 (2.1.1.620)

Syntax

C#
public T FindByName(
	string name
)
Visual Basic (Declaration)
Public Function FindByName ( _
	name As String _
) As T
Visual C++
public:
T FindByName(
	String^ name
)

Parameters

name
Type: System..::.String
The name of the DimensionState or DimensionValue to return.

See Also