IContentResolutionService 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供一个界面,以便在设计时从内容页访问母版页(如果设计主机提供),例如 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) |
设置已标识内容占位符的当前状态。 |