IContentResolutionService 介面

定義

如果由設計主應用程式 (例如 Visual Studio 2005) 提供,則提供用於在執行階段從內容頁面存取主版頁面的介面。

public interface class IContentResolutionService
public interface IContentResolutionService
type IContentResolutionService = interface
Public Interface IContentResolutionService

給實施者的注意事項

控制項設計工具或實介面的類別 IContentResolutionService ,不應該假設來自設計主控制項的可用性, IContentResolutionService 如果無法使用,則應該正常地失敗。

屬性

ContentDefinitions

取得主版頁面中所識別之內容預留位置的 ContentDefinition 物件。

方法

GetContentDesignerState(String)

擷取所識別之內容預留位置的目前狀態。

SetContentDesignerState(String, ContentDesignerState)

設定所識別之內容預留位置的目前狀態。

適用於

另請參閱