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!

TypeBuilder.GetProperties

Returns all the public and non-public properties declared or inherited by this type, as specified.

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

Parameters

bindingAttr
This invocation attribute. This must be a bit flag from BindingFlags: InvokeMethod, NonPublic, etc.

Return Value

Returns an array of PropertyInfo objects representing the public and non-public properties defined on this type if nonPublic is used; otherwise only the public properties are returned.

Exceptions

Exception Type Condition
NotSupportedException This method is not implemented.

Remarks

This method is not currently supported. As a workaround, retrieve the type using Type.GetType or Assembly.GetType and use reflection on the retrieved type.

See Also

TypeBuilder Class | TypeBuilder Members | System.Reflection.Emit Namespace