Share via


IContextProperty 介面

定義

從內容屬性收集命名資訊,並判斷新內容是否適用於內容屬性。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public interface class IContextProperty
public interface IContextProperty
[System.Runtime.InteropServices.ComVisible(true)]
public interface IContextProperty
type IContextProperty = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type IContextProperty = interface
Public Interface IContextProperty
衍生
屬性

備註

IContextProperty介面是由屬性參與內容的屬性所公開。 根據預設,它也會由基類實作 ContextAttribute ,而屬性類別可以從中 Context 擴充。

屬性

Name

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得用來將屬性加入至內容的屬性名稱。

方法

Freeze(Context)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

在內容已凍結時呼叫。

IsNewContextOK(Context)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

傳回布林值,指出內容屬性是否與新內容相容。

適用於