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

屬性值

Boolean

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

屬性

備註

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

適用於