다음을 통해 공유


IsReadOnly 속성

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

네임스페이스:  Microsoft.MasterDataServices.Services.DataContracts
어셈블리:  Microsoft.MasterDataServices.Services(Microsoft.MasterDataServices.Services.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.