Diagram.GetService(Type) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
首先查询存储区,获取请求的服务,如果未找到,则查询关系图的需要 activediagramview。 为了使此方法可以对视图执行查询,Diagramview 关联将需要放置。 如果查询失败,则返回 null 值。
public:
System::Object ^ GetService(Type ^ serviceType);
public object GetService (Type serviceType);
member this.GetService : Type -> obj
Public Function GetService (serviceType As Type) As Object
参数
- serviceType
- Type
返回
如果查询失败,则请求的服务或 null (没有任何) 。