Version

TryGetMeasure(String,Measure) Method

Returns a reference to the Measure with the specified unique name.
Syntax
'Declaration
 
Public Function TryGetMeasure( _
   ByVal measureUniqueName As String, _
   ByRef measure As Infragistics.Olap.Core.Data.Measure _
) As Boolean
public bool TryGetMeasure( 
   string measureUniqueName,
   out Infragistics.Olap.Core.Data.Measure measure
)

Parameters

measureUniqueName
The value of the UniqueName property of the measure to retrieve.
measure
[out] Upon return, contains a reference to the Measure, or null if no measure was found.

Return Value

True if a measure with the specified unique name exists.
Remarks

Calling this method before the data source has been initialized causes an exception to be thrown.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also