Partager via


_MethodBase.IsConstructor Propriété

Définition

Fournit aux objets COM un accès indépendant de la version à la IsConstructor propriété.

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

Valeur de propriété

true si cette méthode est un constructeur ; sinon, false.

Remarques

Cette propriété est destinée à l’accès aux classes managées à partir du code non managé et ne doit pas être appelée à partir du code managé.

La IsConstructor propriété obtient une valeur indiquant si la méthode est un constructeur.

S’applique à