Partager via


VsValidationContext.ServiceProvider Property

Returns the service associated with this context.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Déclaration
Public ReadOnly Property ServiceProvider As IServiceProvider
    Get
public IServiceProvider ServiceProvider { get; }
public:
property IServiceProvider^ ServiceProvider {
    IServiceProvider^ get ();
}
member ServiceProvider : IServiceProvider
function get ServiceProvider () : IServiceProvider

Property Value

Type: System.IServiceProvider

.NET Framework Security

See Also

Reference

VsValidationContext Class

Microsoft.VisualStudio.Modeling.Shell Namespace