MetadataWorkspace.TryGetItemCollection(DataSpace, ItemCollection) Metod

Definition

Viktigt!

Detta API uppfyller inte CLS.

Testar hämtningen av 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

Parametrar

dataSpace
DataSpace

Varifrån DataSpace du ska försöka hämta MetadataWorkspace.

collection
ItemCollection

När den här metoden returnerar innehåller den objektsamlingen. Den här parametern skickas oinitierad.

Returer

trueom hämtningen lyckades. annars . false

Attribut

Gäller för