Share via


_FieldInfo.IsNotSerialized Propriété

Définition

Fournit des objets COM avec un accès indépendant de la version à la propriété IsNotSerialized.

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

Valeur de propriété

Boolean

true si l'attribut NotSerialized du champ est défini ; sinon, false.

Remarques

Cette propriété permet d’accéder aux classes managées à partir du code non managé et ne doit pas être appelée à partir du code managé.

La IsNotSerialized propriété obtient une valeur indiquant si ce champ a l' NotSerialized attribut.

S’applique à