ActivityCodeDomSerializationManager.GetService(Type) 方法

定义

获取一个 Object,它提供指定的 Type 的服务。Gets an Object that provides a service of the specified 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

要提供的服务的 TypeThe Type of service to be provided.

返回

一个 Object,它提供指定的 Type 的服务。A Object that provides a service of the specified Type.

实现

适用于