DesignerObject.GetService(Type) 方法

定義

從設計主應用程式取得服務,由所提供的型別識別。

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

參數

serviceType
Type

要求的服務型別。

傳回

Object

要求的服務。

適用於

另請參閱