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