語言

IContentResolutionService 介面

定義

若設計主機(如 Visual Studio 2005)提供,設計時可從內容頁存取母版頁面的介面。

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

給實施者的注意事項

控制設計者或實作介面 IContentResolutionService 的類別不應假設設計主機有 的 IContentResolutionService 可用性,若無法提供,應優雅地失效。

屬性

名稱 Description
ContentDefinitions

取得 ContentDefinition 母版中識別的內容佔位符物件。

方法

名稱 Description
GetContentDesignerState(String)

取得已識別內容佔位符的當前狀態。

SetContentDesignerState(String, ContentDesignerState)

設定已識別內容的當前狀態。

適用於

另請參閱