Partager via


DataViewPropertyDescriptor.IsReadOnly, propriété

Obtient une valeur indiquant si le modèle actuel de propriété est en lecture seule.

Espace de noms :  Microsoft.VisualStudio.Data.Framework
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)

Syntaxe

'Déclaration
Public Overrides ReadOnly Property IsReadOnly As Boolean
public override bool IsReadOnly { get; }
public:
virtual property bool IsReadOnly {
    bool get () override;
}
abstract IsReadOnly : bool with get 
override IsReadOnly : bool with get
override function get IsReadOnly () : boolean

Valeur de propriété

Type : Boolean
Une valeur d' Boolean indiquant si le modèle actuel de propriété est en lecture seule.

Notes

Cette propriété récupère la propriété d' IsReadOnly de l'attribut d' ReadOnlyAttribute du modèle actuel de propriété. Si aucun attribut n'existe, retourne ReadOnlyAttribute.Default.IsReadOnlyde cette propriété.

Sécurité .NET Framework

Voir aussi

Référence

DataViewPropertyDescriptor Classe

Microsoft.VisualStudio.Data.Framework, espace de noms