Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IContentResolutionService Interface
Collapse the table of content
Expand the table of content

IContentResolutionService Interface

Provides an interface for access to a master page from a content page at design time, if provided by a design host, such as Visual Studio 2005. 

Namespace:  System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

public interface IContentResolutionService

The IContentResolutionService type exposes the following members.

Public propertyContentDefinitionsGets the ContentDefinition objects for the content placeholders that are identified in the master page.

Public methodGetContentDesignerStateRetrieves the current state of the identified content place holder.
Public methodSetContentDesignerStateSets the current state of the identified content place holder.

Notes to Implementers

A control designer, or a class implementing the IContentResolutionService interface, should not assume the availability of the IContentResolutionService from a design host and, if it is not available, should fail gracefully.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft