LEADTOOLS Medical (Leadtools.Medical.DataAccessLayer assembly)
LEAD Technologies, Inc

GetElementsCollection Method






A Leadtools.Medical.DataAccessLayer.MatchingParameterCollection that contains ICatalogEntity objects whose properties will be returned.
The ICatalog interface that describes the entities in the matchingEntitiesCollection.
If this parameter is set to true, properties that have null (Nothing in Visual Basic) values won't be returned.
Enumerate the ICatalogEntity properties annotated with EntityElementAttribute.
Syntax
'Declaration
 
Public Shared Function GetElementsCollection( _
   ByVal matchingEntitiesCollection As MatchingParameterCollection, _
   ByVal catalog As ICatalog, _
   ByVal ignoreNullValueItems As Boolean _
) As Collection(Of CatalogElement())
'Usage
 
Dim matchingEntitiesCollection As MatchingParameterCollection
Dim catalog As ICatalog
Dim ignoreNullValueItems As Boolean
Dim value As Collection(Of CatalogElement())
 
value = CatalogDescriptor.GetElementsCollection(matchingEntitiesCollection, catalog, ignoreNullValueItems)
 function Leadtools.Medical.DataAccessLayer.Catalog.CatalogDescriptor.GetElementsCollection( 
   matchingEntitiesCollection ,
   catalog ,
   ignoreNullValueItems 
)

Parameters

matchingEntitiesCollection
A Leadtools.Medical.DataAccessLayer.MatchingParameterCollection that contains ICatalogEntity objects whose properties will be returned.
catalog
The ICatalog interface that describes the entities in the matchingEntitiesCollection.
ignoreNullValueItems
If this parameter is set to true, properties that have null (Nothing in Visual Basic) values won't be returned.

Return Value

A Collection of CatalogElement array describing the properties annotated with EntityElementAttributein the ICatalogEntity.
Remarks

All the ICatalogEntities in each Leadtools.Medical.DataAccessLayer.MatchingParameterList will be added as a separate array of CatalogElement in the Collection.

For each ICatalogEntity all properties annotated with the EntityElementAttribute will be enumerated.
A key for each ICatalogEntity will be retrieved using ICatalogEntity.CatalogKey method.
A key for each property will be retrieved using the following method:
If the EntityElementAttribute.Name has a value (not null or empty string) then it will be used as the key value otherwise the actual Name of the System.Reflection.PropertyInfo will be used as the key.
The CatalogDescriptor will use the ICatalog object to find the information of this catalog element and fill them in a CatalogElement object.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CatalogDescriptor Class
CatalogDescriptor Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Medical.DataAccessLayer requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features