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
‘선언
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: System.Type
Return Value
Type: System.Object
Implements
IServiceProvider.GetService(Type)
IServiceProvider.GetService(Type)
.NET Framework Security
- 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.