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.GetProperties (BindingFlags)

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[];

Parameters

bindingAttr
A bit mask comprised of one or more BindingFlags that specify how the search is conducted.

-or-

zero, to conduct a case-sensitive search for public properties.

Return Value

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.

Remarks

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.

See Also

Type Class | Type Members | System Namespace | Type.GetProperties Overload List