HierarchyNode.GetService 方法

定義

多載

名稱 Description
GetService(Guid)
GetService(Type)

GetService(Guid)

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

參數

svc
Guid

傳回

適用於

GetService(Type)

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

參數

svc
Type

傳回

適用於