Partager via


IUIObjectMetadata.TryGetType(String, IUIObjectTypeInfo) Méthode

Définition

Retourne un objet de type EDM (Entity Data Model) en utilisant le nom de type spécifié et le nom d'espace de noms de cette collection d'éléments.

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

Paramètres

typeKey
String

Clé utilisée dans le type.

typeInfo
IUIObjectTypeInfo

Informations sur le type.

Retours

true s'il existe un type correspondant aux critères de recherche ; sinon, false.

S’applique à