FindVR method

Delphi example

C++Builder example

 

Builder Syntax

int __fastcall FindVR(Word nCode);

Delphi Syntax

function FindVR(nCode: Word): Integer;

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 the following:

Property

Value

Code

VR_AE

Length

16

Name

'Application Entity'

Restrict

VR_STRING OR VR_MAXIMUM

UnitSize

1

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

See Also

Elements:

FindIndexVR method