Keysight 89600 VSA .NET API
Item(String) Property
See Also  Example
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > DataRegisterCollection Class > Item Property : Item(String) Property


name
The name of the data register to retrieve ("D1" through "D20").

Glossary Item Box

Returns the named data register from the collection.

Syntax

Visual Basic (Declaration) 
Public Overloads MustOverride ReadOnly Property Item( _
   ByVal name As String _
) As DataRegister
C# 
public abstract DataRegister Item( 
   string name
) {get;}
C++/CLI 
public:
abstract property DataRegister^ Item {
   DataRegister^ get(String^ name);
}

Parameters

name
The name of the data register to retrieve ("D1" through "D20").

Property Value

The named data register, or null if no data register of the supplied name exists.

Example

C#Copy Code
DataRegister d2 = app.DataRegisters["D2"];

Requirements

Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)

See Also