ExpressionEditorSheet.ServiceProvider Property

Note: This property is new in the .NET Framework version 2.0.

Gets the service provider implementation that is used by the expression editor sheet.

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

public:
property IServiceProvider^ ServiceProvider {
	IServiceProvider^ get ();
}
/** @property */
public IServiceProvider get_ServiceProvider ()

public function get ServiceProvider () : IServiceProvider

Property Value

An IServiceProvider, typically provided by the design host, that can be used to obtain additional design-time services.

Use the ExpressionEditorSheet constructor to set the ServiceProvider implementation for a custom expression editor sheet.

The ServiceProvider property can be used to access services that are provided by the designer host. For example, call the GetService method with the IWebApplication interface to access project items, documents, or configuration file details that are provided through the visual designer.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show: