Bagikan melalui


MetadataWorkspace.TryGetItemCollection(DataSpace, ItemCollection) Metode

Definisi

Penting

API ini bukan kompatibel CLS.

MetadataWorkspaceMenguji pengambilan .

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

Parameter

dataSpace
DataSpace

DataSpace dari mana untuk mencoba pengambilan MetadataWorkspace.

collection
ItemCollection

Ketika metode ini kembali, berisi koleksi item. Parameter ini diteruskan tanpa diinisialisasi.

Mengembalikan

true jika pengambilan berhasil; jika tidak, false.

Atribut

Berlaku untuk