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.GetFields

Returns an array of FieldInfo objects representing the fields, or data members, defined for the current class.

[Visual Basic]
Overrides Public Function GetFields( _
   ByVal bindingAttr As BindingFlags _
) As FieldInfo ()
[C#]
public override FieldInfo[] GetFields(
   BindingFlags bindingAttr
);
[C++]
public: override FieldInfo* GetFields(
   BindingFlags bindingAttr
) [];
[JScript]
public override function GetFields(
   bindingAttr : BindingFlags
) : FieldInfo[];

Parameters

bindingAttr
This bit mask affects the way in which the search is conducted. The binding attributes used to control the search. An example is Binder.NonPublic

Return Value

An array of FieldInfo objects representing the fields declared or inherited by the current TypeDelegator . An empty array is returned if there are no matched fields.

Remarks

Use a bindingAttr of BindingFlags.NonPublic to return all public and nonpublic fields.

See Also

TypeDelegator Class | TypeDelegator Members | System.Reflection Namespace