Encoding.IsReadOnly 属性

定义

在派生类中重写时,获取一个值,该值指示当前的编码是否为只读。When overridden in a derived class, gets a value indicating whether the current encoding is read-only.

public:
 property bool IsReadOnly { bool get(); };
public bool IsReadOnly { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public bool IsReadOnly { get; }
member this.IsReadOnly : bool
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.IsReadOnly : bool
Public ReadOnly Property IsReadOnly As Boolean

属性值

Boolean

如果当前 true 为只读,则为 Encoding;否则为 falsetrue if the current Encoding is read-only; otherwise, false. 默认值为 trueThe default is true.

属性

适用于