Connector.GetService(Type) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
若服務物件可用,則回傳指定類型的服務物件。
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
參數
傳回
若沒有類型為
備註
GetService 回傳透過 ParentDesigner可取得的服務物件。