IUIObjectMetadata.TryGetType(String, IUIObjectTypeInfo) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne un objet de type Entity Data Model (EDM) en utilisant le nom de type spécifié et le nom de l’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
La clé utilisée dans le type.
- typeInfo
- IUIObjectTypeInfo
Les informations sur le type.
Retours
true s’il existe un type qui correspond aux critères de recherche ; sinon, false.