IUIObjectMetadata.TryGetType(String, IUIObjectTypeInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an Entity Data Model (EDM) type object by using the specified type name and the namespace name from this item collection.
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
Parameters
- typeKey
- String
The key used in the type.
- typeInfo
- IUIObjectTypeInfo
The information about the type.
Returns
true
if there is a type that matches the search criteria; otherwise, false
.