A Sandcastle Documented Class Library

# ExternalHierarchyLevel THierarchy, THierarchyMember GetMembers Method (MemberRetrievalOptions, ICollection MemberValue )

Gets the members for the current instance.

Namespace: Dundas.BI.Data.Metadata
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public IEnumerable<IHierarchyMember> GetMembers(
    	MemberRetrievalOptions retrievalOptions,
    	ICollection<MemberValue> shownMembers
    )

    Public Function GetMembers (
    	retrievalOptions As MemberRetrievalOptions,
    	shownMembers As ICollection(Of MemberValue)
    ) As IEnumerable(Of IHierarchyMember)

    public:
    virtual IEnumerable<IHierarchyMember^>^ GetMembers(
    	MemberRetrievalOptions^ retrievalOptions,
    	ICollection<MemberValue^>^ shownMembers
    ) sealed

    abstract GetMembers :
            retrievalOptions : MemberRetrievalOptions *
            shownMembers : ICollection<MemberValue> -> IEnumerable<IHierarchyMember>
    override GetMembers :
            retrievalOptions : MemberRetrievalOptions *
            shownMembers : ICollection<MemberValue> -> IEnumerable<IHierarchyMember>

#### Parameters

retrievalOptions
  Type: Dundas.BI.Data.MemberRetrieval
  MemberRetrievalOptions
  The retrieval options.
shownMembers
  Type: System.Collections.Generic
  ICollection
  MemberValue
  The shown members. If not
  , then only the members in the collection, its parents, or its children can be included.

#### Return Value

Type: IEnumerable
IHierarchyMember
The member collection.

#### Implements

IHierarchyMemberContainer
GetMembers(MemberRetrievalOptions, ICollection
MemberValue
)
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | retrievalOptions is .

See Also

#### Reference

ExternalHierarchyLevel
THierarchy, THierarchyMember
Class
GetMembers Overload
Dundas.BI.Data.Metadata Namespace