Langue

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

DataSpace À partir duquel tenter de MetadataWorkspacerécupérer .

collection
ItemCollection

Lorsque cette méthode est retournée, contient la collection d’éléments. Ce paramètre est passé non initialisé.

Retours

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

Attributs

S’applique à