Udostępnij za pośrednictwem


DataViewBrowseObject.IReflect.GetProperties(BindingFlags) Method

Definition

Retrieves all the properties for the type of the current instance, using the specified binding constraints.

 virtual cli::array <System::Reflection::PropertyInfo ^> ^ System.Reflection.IReflect.GetProperties(System::Reflection::BindingFlags bindingAttr) = System::Reflection::IReflect::GetProperties;
System.Reflection.PropertyInfo[] IReflect.GetProperties (System.Reflection.BindingFlags bindingAttr);
abstract member System.Reflection.IReflect.GetProperties : System.Reflection.BindingFlags -> System.Reflection.PropertyInfo[]
override this.System.Reflection.IReflect.GetProperties : System.Reflection.BindingFlags -> System.Reflection.PropertyInfo[]
Function GetProperties (bindingAttr As BindingFlags) As PropertyInfo() Implements IReflect.GetProperties

Parameters

bindingAttr
BindingFlags

A bitmask made up of one or more BindingFlags that specify how the search is conducted, or zero to return an empty array.

Returns

An array of PropertyInfo objects representing all the properties for the type of the current instance that match the specified binding constraints. If the type of the current instance does not have properties, or if none of the properties match the binding constraints, returns an empty array of type PropertyInfo.

Implements

Applies to