语言

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)

设置已标识内容占位符的当前状态。

适用于

另请参阅