ExpressionEditorSheet::ServiceProvider Property
Gets the service provider implementation that is used by the expression editor sheet.
Assembly: System.Design (in System.Design.dll)
[BrowsableAttribute(false)] public: property IServiceProvider^ ServiceProvider { IServiceProvider^ get (); }
Property Value
Type: System::IServiceProviderAn 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 Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.