다음을 통해 공유


MetadataAttribute.IsReadOnly 속성

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

네임스페이스:  Microsoft.MasterDataServices.Services.DataContracts
어셈블리:  Microsoft.MasterDataServices.Services.Contracts(Microsoft.MasterDataServices.Services.Contracts.dll)

구문

‘선언
<DataMemberAttribute(IsRequired := False)> _
Public Property IsReadOnly As Boolean 
    Get 
    Set
‘사용 방법
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)

속성 값

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

참고 항목

참조

MetadataAttribute 클래스

Microsoft.MasterDataServices.Services.DataContracts 네임스페이스