FindVR method (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short FindVR ( short nCode );

Overview

Refer to Working with Value Representations.

Remarks

Updates the CurrentVR property to the item in the Value Representation Table with the specified value representation code.

As an example, if you call this method with nCode set to VR_AE, and the Value Representation Table filled with the default values, the properties in the CurrentVR property will contain VR_AE, "Application Entity", 16, VR_STRING|VR_MAXIMUM, and 1.

To see the default values for the Value Representation Table, refer to the Default Value Representation Table.

See Also

Elements:

FindIndexVR method

Topics:

Value Representations: Searching the Value Representation Table