Share via


ModelingDocData.GetService Method

Serve up local services to the Store and users of the Stores service provider

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

Syntax

'Declaration
Public Overrides Function GetService ( _
    serviceType As Type _
) As Object
public override Object GetService(
    Type serviceType
)
public:
virtual Object^ GetService(
    Type^ serviceType
) override
abstract GetService : 
        serviceType:Type -> Object  
override GetService : 
        serviceType:Type -> Object
public override function GetService(
    serviceType : Type
) : Object

Parameters

  • serviceType
    Type: Type

Return Value

Type: Object

Implements

IServiceProvider.GetService(Type)

.NET Framework Security

See Also

Reference

ModelingDocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace