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

Gets the fields of the current Type.

Overload List

Returns all the public fields of the current Type.

[Visual Basic] Overloads Public Function GetFields() As FieldInfo ()
[C#] public FieldInfo[] GetFields();
[C++] public: FieldInfo* GetFields() [];
[JScript] public function GetFields() : FieldInfo[];

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

[Visual Basic] Overloads MustOverride Public Function GetFields(BindingFlags) As FieldInfo ()
[C#] public abstract FieldInfo[] GetFields(BindingFlags);
[C++] public: virtual FieldInfo* GetFields(BindingFlags) [] = 0;
[JScript] public abstract function GetFields(BindingFlags) : FieldInfo[];

See Also

Type Class | Type Members | System Namespace