ServiceProvider.GetService 메서드

정의

서비스 개체를 검색합니다.

오버로드

GetService(Guid)

서비스 개체를 가져옵니다.

GetService(Type)

서비스 개체를 가져옵니다.

GetService(Guid)

서비스 개체를 가져옵니다.

public:
 System::Object ^ GetService(Guid guid);
public object GetService (Guid guid);
member this.GetService : Guid -> obj
Public Function GetService (guid As Guid) As Object

매개 변수

guid
Guid

가져올 서비스 개체 유형을 지정하는 개체의 GUID입니다.

반환

guid 유형의 서비스 개체인 Object를 반환합니다.

적용 대상

GetService(Type)

서비스 개체를 가져옵니다.

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

매개 변수

serviceType
Type

가져올 서비스 개체의 형식을 지정하는 개체입니다.

반환

serviceType 유형의 서비스 개체인 Object를 반환합니다.

구현

적용 대상