When implemented by a derived class, searches for the properties of the current Type, using the specified binding constraints.
[Visual Basic] Overloads MustOverride Public Function GetProperties( _ ByVal bindingAttr As BindingFlags _ ) As PropertyInfo () [C#] public abstract PropertyInfo[] GetProperties( BindingFlags bindingAttr ); [C++] public: virtual PropertyInfo* GetProperties( BindingFlags bindingAttr ) [] = 0; [JScript] public abstract function GetProperties( bindingAttr : BindingFlags ) : PropertyInfo[];
-or-
zero, to conduct a case-sensitive search for public properties.
An array of PropertyInfo objects representing all properties of the current Type that match the specified binding constraints.
-or-
An empty array of type PropertyInfo, if the current Type does not have properties, or if none of the properties match the binding constraints.
Abstract. This method must be implemented by a derived class.
The following BindingFlags filter flags can be used to define which properties should be included in the search:
The following BindingFlags modifier flags can be used to change how the search works:
See BindingFlags for more information.
Type Class | Type Members | System Namespace | Type.GetProperties Overload List