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!

TypeDelegator.GetMember

Returns an array of specified MemberInfo objects, representing members (properties, methods, fields, events, etc) specified by the given name and bindingAttr.

[Visual Basic]
Overrides Public Function GetMember( _
   ByVal name As String, _
   ByVal type As MemberTypes, _
   ByVal bindingAttr As BindingFlags _
) As MemberInfo ()
[C#]
public override MemberInfo[] GetMember(
   string name,
   MemberTypes type,
   BindingFlags bindingAttr
);
[C++]
public: override MemberInfo* GetMember(
   String* name,
   MemberTypes type,
   BindingFlags bindingAttr
) [];
[JScript]
public override function GetMember(
   name : String,
   type : MemberTypes,
   bindingAttr : BindingFlags
) : MemberInfo[];

Parameters

name
The name of the member to get.
type
[To be supplied.]
bindingAttr
This bit mask affects the way in which the search is conducted. The binding attributes used to control the search. An example is BindingFlags.NonPublic

Return Value

Returns an array of MemberInfo objects representing all the members of the current class which have the specified name meets the bindingAttr filter. Returns the members from the current class and its base classes.

Remarks

If bindingAttr is BindingFlags.NonPublic, all the members will be considered. If there are no matches, an empty array is returned.

See Also

TypeDelegator Class | TypeDelegator Members | System.Reflection Namespace