VeriStand .NET API Reference

CustomDeviceBase.SetVariantProperty Method

Sets a LabVIEW variant value for 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 SetVariantProperty ( _
	name As String, _
	type As Byte(), _
	value As Byte() _
) As Boolean
C#
public bool SetVariantProperty(
	string name,
	byte[] type,
	byte[] value
)
Visual C++
public:
bool SetVariantProperty(
	String^ name, 
	array<unsigned char>^ type, 
	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 as a byte array.

Return Value

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

See Also

Log in to get a better experience