IUIObjectMetadata.TryGetType(String, IUIObjectTypeInfo) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
通过使用指定的类型名称和该项目集合中的命名空间名称返回实体数据模型(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.