IUIObjectMetadata.TryGetType(String, IUIObjectTypeInfo) 方法

定义

通过使用指定的类型名称和该项目集合中的命名空间名称返回实体数据模型(EDM)类型对象。

public:
 bool TryGetType(System::String ^ typeKey, [Runtime::InteropServices::Out] Microsoft::SqlServer::Management::UI::VSIntegration::ObjectExplorer::IUIObjectTypeInfo ^ % typeInfo);
public bool TryGetType(string typeKey, out Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.IUIObjectTypeInfo typeInfo);
abstract member TryGetType : string * IUIObjectTypeInfo -> bool
Public Function TryGetType (typeKey As String, ByRef typeInfo As IUIObjectTypeInfo) As Boolean

参数

typeKey
String

该类型所用的密钥。

typeInfo
IUIObjectTypeInfo

关于类型的信息。

返回

true 如果存在与搜索条件匹配的类型,则为 ;否则,为 false.

适用于