MemberCollection.Find Method (String)

 

Returns the specified Member from the collection by its name.

Namespace:   Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

public Member Find(
    string index
)
public:
Member^ Find(
    String^ index
)
member Find : 
        index:string -> Member
Public Function Find (
    index As String
) As Member

Parameters

Return Value

Type: Microsoft.AnalysisServices.AdomdClient.Member

The Member with the specified name if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).

Remarks

If the object is not found, the Find method returns null, whereas the Item property throws an exception.

See Also

MemberCollection Class
Microsoft.AnalysisServices.AdomdClient Namespace

Return to top