IContentResolutionService 接口  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供在设计时从内容页访问母版页的接口(如果诸如 Visual Studio 2005 的设计宿主提供上述成员)。
public interface class IContentResolutionServicepublic interface IContentResolutionServicetype IContentResolutionService = interfacePublic Interface IContentResolutionService实施者说明
控件设计器或实现 接口的 IContentResolutionService 类不应假定设计主机中的可用性 IContentResolutionService ,如果它不可用,则应正常失败。
属性
| ContentDefinitions | 获取母版页中标识的内容占位符的 ContentDefinition 对象。 | 
方法
| GetContentDesignerState(String) | 检索标识的内容占位符的当前状态。 | 
| SetContentDesignerState(String, ContentDesignerState) | 设置标识的内容占位符的当前状态。 |