Redigera

Dela via


PropertyInfo.SetMethod Property

Definition

Gets the set accessor for this property.

public:
 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.

Remarks

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