Gemstone PQDIF Library
Show/Hide TOC

# CollectionElementGetCollectionByTag Method

Gets the element whose tag matches the one given as a parameter, type cast to CollectionElement.

## Definition

Namespace: Gemstone.PQDIF.Physical
Assembly: Gemstone.PQDIF (in Gemstone.PQDIF.dll) Version: 1.0.162 -- Release Build+6f25783b3c71c3250f4e8aa35fa1cc7ad8c62dda
C#
View Source Request Example

    public CollectionElement? GetCollectionByTag(
    	Guid tag
    )

VB
View Source Request Example

    Public Function GetCollectionByTag (
    	tag As Guid
    ) As CollectionElement

C++
View Source Request Example

    public:
    CollectionElement^ GetCollectionByTag(
    	Guid tag
    )

JavaScript
View Source Request Example

    function GetCollectionByTag(tag);

#### Parameters

tag Guid
  The tag to search by.

#### Return Value

CollectionElement
The element whose tag matches the one given, or null if no matching collection element exists.

## See Also

#### Reference

CollectionElement Class
Gemstone.PQDIF.Physical Namespace