Compartilhar via


Propriedade do RDL MetadataAttribute.IsReadOnly

Gets or sets a value that indicates whether the attribute is read-only.

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (em Microsoft.MasterDataServices.Services.Contracts.dll)

Sintaxe

'Declaração
<DataMemberAttribute(IsRequired := False)> _
Public Property IsReadOnly As Boolean 
    Get 
    Set
'Uso
Dim instance As MetadataAttribute 
Dim value As Boolean 

value = instance.IsReadOnly

instance.IsReadOnly = value
[DataMemberAttribute(IsRequired = false)]
public bool IsReadOnly { get; set; }
[DataMemberAttribute(IsRequired = false)]
public:
property bool IsReadOnly {
    bool get ();
    void set (bool value);
}
[<DataMemberAttribute(IsRequired = false)>]
member IsReadOnly : bool with get, set
function get IsReadOnly () : boolean 
function set IsReadOnly (value : boolean)

Valor da propriedade

Tipo: System.Boolean
true if the attribute is read-only; otherwise, false.

Consulte também

Referência

MetadataAttribute Classe

Namespace Microsoft.MasterDataServices.Services.DataContracts