共用方式為


VSDiagramViewSite.GetService(Type) Method

Definition

Gets service of specified type.

public:
 virtual System::Object ^ GetService(Type ^ serviceType);
public object GetService (Type serviceType);
abstract member GetService : Type -> obj
override this.GetService : Type -> obj
Public Function GetService (serviceType As Type) As Object

Parameters

serviceType
Type

Service type.

Returns

Service instance.

Implements

Applies to