WebFormsRootDesigner.GetService(Type) 方法

定義

傳回所要求的服務。

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

參數

serviceType
Type

要擷取的服務類型。

傳回

要求的服務,如果無法解析服務,則為 null

適用於

另請參閱