MetadataWorkspace.TryGetItemCollection(DataSpace, ItemCollection) Methode

Definitie

Belangrijk

Deze API is niet CLS-conform.

Test het ophalen van 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

Parameters

dataSpace
DataSpace

De DataSpace waaruit moet worden opgehaald MetadataWorkspace.

collection
ItemCollection

Wanneer deze methode wordt geretourneerd, bevat deze de itemverzameling. Deze parameter wordt niet-geïnitialiseerd doorgegeven.

Retouren

true als het ophalen is geslaagd; anders, false.

Kenmerken

Van toepassing op