VeriStand .NET API Reference

Table of Contents

CustomDeviceBase.GetVariantProperty Method

Gets the LabVIEW variant value of the custom device item property specified by name. The variant data type is a generic container for all other LabVIEW data types.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Function GetVariantProperty ( _
	name As String, _
	<OutAttribute> ByRef type As Byte(), _
	<OutAttribute> ByRef value As Byte() _
) As Boolean
C#
public bool GetVariantProperty(
	string name,
	out byte[] type,
	out byte[] value
)
Visual C++
public:
bool GetVariantProperty(
	String^ name, 
	[OutAttribute] array<unsigned char>^% type, 
	[OutAttribute] array<unsigned char>^% value
)

Parameters

name
Type: System.String
The name of the property. Property names are case-sensitive.
type
Type: System.Byte %
The data type of value.
value
Type: System.Byte %
The value of the property.

Return Value

true (True in Visual Basic) if the property name is found.

See Also

Log in to get a better experience