TextPatternIdentifiers.IsReadOnlyAttribute 欄位

定義

識別文字範圍的 IsReadOnly 屬性。

public: static initonly System::Windows::Automation::AutomationTextAttribute ^ IsReadOnlyAttribute;
public static readonly System.Windows.Automation.AutomationTextAttribute IsReadOnlyAttribute;
 staticval mutable IsReadOnlyAttribute : System.Windows.Automation.AutomationTextAttribute
Public Shared ReadOnly IsReadOnlyAttribute As AutomationTextAttribute 

欄位值

備註

與呼叫文字範圍相關聯的檔唯讀狀態。

注意

如果檔或檔案是唯讀的,但您仍然可以編輯它,並將它儲存為另一個檔案,則不會將文字視為唯讀。

消費者介面自動化提供者會使用此識別碼。 消費者介面自動化用戶端應用程式應該使用 中的 TextPattern 對等欄位。

此屬性的值的類型為 Boolean

預設值是 false

適用於

另請參閱