NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Type.GetMembers (BindingFlags)

When implemented by a derived class, searches for the members defined for the current Type, using the specified binding constraints.

[Visual Basic]
Overloads MustOverride Public Function GetMembers( _
   ByVal bindingAttr As BindingFlags _
) As MemberInfo ()
[C#]
public abstract MemberInfo[] GetMembers(
   BindingFlags bindingAttr
);
[C++]
public: virtual MemberInfo* GetMembers(
   BindingFlags bindingAttr
) [] = 0;
[JScript]
public abstract function GetMembers(
   bindingAttr : BindingFlags
) : MemberInfo[];

Parameters

bindingAttr
A bit mask comprised of one or more BindingFlags that specify how the search is conducted.

-or-

zero, to conduct a case-sensitive search for public members.

Return Value

An array of MemberInfo objects representing all members defined for the current Type that match the specified binding constraints.

-or-

An empty array of type MemberInfo, if no members are defined for the current Type, or if none of the defined members match the binding constraints.

Remarks

Abstract. This method must be implemented by a derived class.

Members include properties, methods, fields, events, and so on.

The following BindingFlags filter flags can be used to define which members should be included in the search:

The following BindingFlags modifier flags can be used to change how the search works:

Calling this method with only the Public flag or only the NonPublic flag will return the specified members and does not require any other flags.

See BindingFlags for more information.Class initializers are available through GetMember, GetMembers, FindMembers, and GetConstructors.

See Also

Type Class | Type Members | System Namespace | Type.GetMembers Overload List