Language

Connector.GetService(Type) メソッド

定義

指定した型のサービス オブジェクトが使用可能な場合は、それを返します。

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

パラメーター

serviceType
Type

返すサービス オブジェクトの Type 。

返品

serviceType 型のサービス オブジェクト。Nothing 型のサービス オブジェクトがない場合は null 参照 (Visual Basicでは serviceType)。

注釈

GetService は、 ParentDesignerで使用可能なサービス オブジェクトを返します。

適用対象