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!

PropertyInfo.GetGetMethod ()

Returns the public get-accessor for this property.

[Visual Basic]
Overloads Public Function GetGetMethod() As MethodInfo
[C#]
public MethodInfo GetGetMethod();
[C++]
public: MethodInfo* GetGetMethod();
[JScript]
public function GetGetMethod() : MethodInfo;

Return Value

Value Condition
A MethodInfo object representing the Get accessor for this property. The Get accessor is public.
null The Get accessor is non-public or does not exist.

Remarks

This method is a convenience method that calls the following GetGetMethod method with a parameter of false. Note that the following method is abstract and must be implemented before this method is functional.

To use the GetGetMethod method, first get the class Type. From the Type, get the PropertyInfo. From the PropertyInfo, use the GetGetMethod method.

See Also

PropertyInfo Class | PropertyInfo Members | System.Reflection Namespace | PropertyInfo.GetGetMethod Overload List