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[];
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.
Exception Type | Condition |
---|---|
NotSupportedException | This method is not implemented. |
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.
TypeBuilder Class | TypeBuilder Members | System.Reflection.Emit Namespace