IUIObjectMetadata.TryGetType(String, IUIObjectTypeInfo) Method

Definition

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.

Applies to