Nyelv

PropertyInfo.SetMethod Tulajdonság

Definíció

Lekéri a set tulajdonság tartozékát.

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

Tulajdonság értéke

A set tulajdonság tartozéka, vagy null ha a tulajdonság írásvédett.

Megjegyzések

A tulajdonság értékének beolvasása SetMethod egyenértékű azzal, ha a GetSetMethod(Boolean) metódust az true argumentum értékével nonPublic hívja meg.

A következőre érvényes:

Lásd még