Gemstone PQDIF Library
Show/Hide TOC

# CollectionElementGetScalarByTag Method

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

## Definition

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

    public ScalarElement? GetScalarByTag(
    	Guid tag
    )

VB
View Source Request Example

    Public Function GetScalarByTag (
    	tag As Guid
    ) As ScalarElement

C++
View Source Request Example

    public:
    ScalarElement^ GetScalarByTag(
    	Guid tag
    )

JavaScript
View Source Request Example

    function GetScalarByTag(tag);

#### Parameters

tag Guid
  The tag to search by.

#### Return Value

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

## See Also

#### Reference

CollectionElement Class
Gemstone.PQDIF.Physical Namespace