TryGetItemCollection Method

MetadataWorkspace.TryGetItemCollection Method (DataSpace, ItemCollection)

 

Tests the retrieval of MetadataWorkspace.

This API is not CLS-compliant.

Namespace:   System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

[CLSCompliantAttribute(false)]
public bool TryGetItemCollection(
	DataSpace dataSpace,
	out ItemCollection collection
)

Parameters

dataSpace
Type: System.Data.Metadata.Edm.DataSpace

The DataSpace from which to attempt retrieval of MetadataWorkspace.

collection
Type: System.Data.Metadata.Edm.ItemCollection

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

Return Value

Type: System.Boolean

true if the retrieval was successful; otherwise, false.

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft