共用方式為


MetadataAttribute.IsReadOnly 屬性

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

命名空間:  Microsoft.MasterDataServices
組件:  Microsoft.MasterDataServices (在 Microsoft.MasterDataServices.dll 中)

語法

'宣告
<DataMemberAttribute> _
Public Property IsReadOnly As Boolean
    Get
    Set
'用途
Dim instance As MetadataAttribute
Dim value As Boolean

value = instance.IsReadOnly

instance.IsReadOnly = value
[DataMemberAttribute]
public bool IsReadOnly { get; set; }
[DataMemberAttribute]
public:
property bool IsReadOnly {
    bool get ();
    void set (bool value);
}
[<DataMemberAttribute>]
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 命名空間