MetadataWorkspace.TryGetItemCollection(DataSpace, ItemCollection) Méthode

Définition

Important

Cette API n’est pas conforme CLS.

Teste la récupération de MetadataWorkspace.

public:
 bool TryGetItemCollection(System::Data::Metadata::Edm::DataSpace dataSpace, [Runtime::InteropServices::Out] System::Data::Metadata::Edm::ItemCollection ^ % collection);
public bool TryGetItemCollection (System.Data.Metadata.Edm.DataSpace dataSpace, out System.Data.Metadata.Edm.ItemCollection collection);
[System.CLSCompliant(false)]
public bool TryGetItemCollection (System.Data.Metadata.Edm.DataSpace dataSpace, out System.Data.Metadata.Edm.ItemCollection collection);
member this.TryGetItemCollection : System.Data.Metadata.Edm.DataSpace * ItemCollection -> bool
[<System.CLSCompliant(false)>]
member this.TryGetItemCollection : System.Data.Metadata.Edm.DataSpace * ItemCollection -> bool
Public Function TryGetItemCollection (dataSpace As DataSpace, ByRef collection As ItemCollection) As Boolean

Paramètres

dataSpace
DataSpace

Objet DataSpace à partir duquel tester la récupération de MetadataWorkspace.

collection
ItemCollection

Lorsque cette méthode est retournée, elle contient la collection d'éléments. Ce paramètre est passé sans être initialisé.

Retours

true si la récupération a réussi ; sinon, false.

Attributs

S’applique à