VeriStand .NET API Reference

DAQWaveform.GetEnumProperty Method

Get value of a property of type enum specified by propertyName. This gets the enum value as a string as well as the underlying integer value. Throws exception if property of this type does not exist in the Plugin XML.

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 Sub GetEnumProperty ( _
	propertyName As String, _
	<OutAttribute> ByRef enumString As String, _
	<OutAttribute> ByRef enumValue As Integer _
)
C#
public void GetEnumProperty(
	string propertyName,
	out string enumString,
	out int enumValue
)
Visual C++
public:
void GetEnumProperty(
	String^ propertyName, 
	[OutAttribute] String^% enumString, 
	[OutAttribute] int% enumValue
)

Parameters

propertyName
Type: System.String
Name of Property
enumString
Type: System.String %
String value of the enum
enumValue
Type: System.Int32 %
Integer value of the enum

See Also

Log in to get a better experience