PropertyInfo.SetMethod 屬性

定義

取得這個屬性的 set 存取子。

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

屬性值

這個屬性的 set 存取子;如果屬性是唯讀的,則為 null

備註

擷取 屬性的值SetMethod相當於使用 自變數的值truenonPublic呼叫 GetSetMethod(Boolean) 方法。

適用於

另請參閱