Share via

PropertyInfo.SetMethod Property


Gets the set accessor for this property.

 virtual property System::Reflection::MethodInfo ^ SetMethod { System::Reflection::MethodInfo ^ get(); };
public virtual System.Reflection.MethodInfo SetMethod { get; }
public virtual System.Reflection.MethodInfo? SetMethod { get; }
member this.SetMethod : System.Reflection.MethodInfo
Public Overridable ReadOnly Property SetMethod As MethodInfo

Property Value

The set accessor for this property, or null 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.

Applies to

See also