TextInfo.IsReadOnly 屬性

定義

取得值,指出目前 TextInfo 物件是否為唯讀。

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

屬性值

如果目前 TextInfo 物件是唯讀的,則為 true,否則為 false

屬性

備註

IsReadOnly如果屬性為true,則應用程式無法變更目前TextInfo物件的任何屬性。

適用於