_MethodBase.IsConstructor Proprietà

Definizione

Fornisce oggetti COM con accesso indipendente dalla versione alla proprietà IsConstructor.

public:
 property bool IsConstructor { bool get(); };
public bool IsConstructor { get; }
member this.IsConstructor : bool
Public ReadOnly Property IsConstructor As Boolean

Valore della proprietà

true se il metodo è un costruttore; in caso contrario, false.

Commenti

Questa proprietà è destinata all'accesso alle classi gestite dal codice non gestito e non deve essere chiamata dal codice gestito.

La IsConstructor proprietà ottiene un valore che indica se il metodo è un costruttore.

Si applica a