語言

ContentCaptureNodeProperties.ContentDescription 屬性

定義

取得或設定節點的內容描述為字串。

public string? ContentDescription { get; set; }
member this.ContentDescription : string with get, set

屬性值

內容描述,或者 null 是否明確設定為 null。

備註

這就是 的 ContentDescriptionFormatted字串形式。 getter 會將字元序列轉換成字串。 設定器會將一個 Java 字串,或 null,傳給該屬性。 使用格式化屬性來保留跨度。

閱讀此物業前請先確認 HasContentDescription 。 如果內容描述尚未設定,則擲出者會 IllegalStateException 擲出。 將此屬性 null 設為仍標記為明確設定; Clear() 移除該狀態。

Android 內容描述合約。

適用於