WorkflowView.GetService(Type) 메서드

정의

사용 가능한 경우 지정된 형식의 서비스 개체를 가져옵니다.

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

매개 변수

serviceType
Type

Type 검색할 서비스의 수입니다.

반품

serviceType typeof( CommandID )이면 GetService 특정 CommandID;를 반환합니다. 그렇지 않으면 GetService 요청된 서비스를 구현하는 Object 또는 서비스를 확인할 수 없는 경우 null 참조(Visual Basic Nothing)를 반환합니다.

설명

GetService 는 요청된 Object 서비스를 구현하는 것을 반환하고, 서비스를 확인할 수 없는 경우 null 참조(Nothing)를 반환합니다.

적용 대상