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.GetProperty

Gets a specific property of the current Type.

Overload List

Searches for the specified public property whose parameters match the specified argument types and modifiers.

[Visual Basic] Overloads Public Function GetProperty(String, Type(), ParameterModifier()) As PropertyInfo
[C#] public PropertyInfo GetProperty(String, Type[], ParameterModifier[]);
[C++] public: PropertyInfo* GetProperty(String*, Type[], ParameterModifier[]);
[JScript] public function GetProperty(String, Type[], ParameterModifier[]) : PropertyInfo;

Searches for the specified public property whose parameters match the specified argument types.

[Visual Basic] Overloads Public Function GetProperty(String, Type()) As PropertyInfo
[C#] public PropertyInfo GetProperty(String, Type[]);
[C++] public: PropertyInfo* GetProperty(String*, Type[]);
[JScript] public function GetProperty(String, Type[]) : PropertyInfo;

Searches for the specified property whose parameters match the specified argument types and modifiers, using the specified binding constraints.

[Visual Basic] Overloads Overridable Public Function GetProperty(String, BindingFlags, Binder, Type(), ParameterModifier()) As PropertyInfo
[C#] public virtual PropertyInfo GetProperty(String, BindingFlags, Binder, Type[], ParameterModifier[]);
[C++] public: virtual PropertyInfo* GetProperty(String*, BindingFlags, Binder, Type[], ParameterModifier[]);
[JScript] public function GetProperty(String, BindingFlags, Binder, Type[], ParameterModifier[]) : PropertyInfo;

Searches for the public property with the specified name.

[Visual Basic] Overloads Public Function GetProperty(String) As PropertyInfo
[C#] public PropertyInfo GetProperty(String);
[C++] public: PropertyInfo* GetProperty(String*);
[JScript] public function GetProperty(String) : PropertyInfo;

Searches for the specified property, using the specified binding constraints.

[Visual Basic] Overloads Overridable Public Function GetProperty(String, BindingFlags) As PropertyInfo
[C#] public virtual PropertyInfo GetProperty(String, BindingFlags);
[C++] public: virtual PropertyInfo* GetProperty(String*, BindingFlags);
[JScript] public function GetProperty(String, BindingFlags) : PropertyInfo;

See Also

Type Class | Type Members | System Namespace