Export (0) Print
Expand All

PropertyInfo::SetMethod Property

.NET Framework 4.6 and 4.5

Gets the set accessor for this property.

Namespace:  System.Reflection
Assemblies:   System.Reflection (in System.Reflection.dll)
  mscorlib (in mscorlib.dll)

public:
virtual property MethodInfo^ SetMethod {
	MethodInfo^ get ();
}

Property Value

Type: System.Reflection::MethodInfo
The set accessor for this property, or nullptr if the property is read-only.

Retrieving the value of the SetMethod property is equivalent to calling the GetSetMethod(Boolean) method with a value of true for the nonPublic argument.

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft