DimensionAttributeCollection.Find Method
Gets the DimensionAttribute with the specified identifier from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Find ( _
id As String _
) As DimensionAttribute
'Usage
Dim instance As DimensionAttributeCollection
Dim id As String
Dim returnValue As DimensionAttribute
returnValue = instance.Find(id)
public DimensionAttribute Find(
string id
)
public:
DimensionAttribute^ Find(
String^ id
)
member Find :
id:string -> DimensionAttribute
public function Find(
id : String
) : DimensionAttribute
Parameters
- id
Type: System.String
The identifier of the DimensionAttribute to be returned.
Return Value
Type: Microsoft.AnalysisServices.DimensionAttribute
The DimensionAttribute if it iscontained in the collection; otherwise, a null reference (Nothing in Visual Basic).