Partilhar 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaração
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

Return Value

Type: System.Object

Implements

IServiceProvider.GetService(Type)
IServiceProvider.GetService(Type)

.NET Framework Security

See Also

Reference

ModelingDocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace