Share via


MetadataWorkspace.TryGetItemCollection(DataSpace, ItemCollection) Method

Definition

Tests the retrieval of MetadataWorkspace.

public virtual bool TryGetItemCollection (System.Data.Entity.Core.Metadata.Edm.DataSpace dataSpace, out System.Data.Entity.Core.Metadata.Edm.ItemCollection collection);
abstract member TryGetItemCollection : System.Data.Entity.Core.Metadata.Edm.DataSpace *  -> bool
override this.TryGetItemCollection : System.Data.Entity.Core.Metadata.Edm.DataSpace *  -> bool

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.

Applies to