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.GetSetMethod ()

Returns the public set accessor for this property.

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

Return Value

Value Condition
The MethodInfo object representing the Set method for this property. The set accessor is public.
null The set accessor is non-public. The property is read-only.

Remarks

This method is a convenience method that calls the following GetSetMethod 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 GetSetMethod method, first get the class Type. From the Type, get the PropertyInfo. From the PropertyInfo, use the GetSetMethod method.

See Also

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