MetadataWorkspace.TryGetItemCollection(DataSpace, ItemCollection) Method

Definition

Important

This API is not CLS-compliant.

Tests the retrieval of 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

The DataSpace from which to attempt retrieval of MetadataWorkspace.

collection
ItemCollection

When this method returns, contains the item collection. This parameter is passed uninitialized.

Returns

true if the retrieval was successful; otherwise, false.

Attributes

Applies to