VeriStand .NET API Reference

Variables.FindVariable Generic Method (String, T)

Searches the Variables section for a variable of type T with the specified identifier.

Namespace: NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi
Assembly: NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi (in NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Function FindVariable(Of T As AbstractDeclaration) ( _
	identifier As String, _
	<OutAttribute> ByRef variable As T _
) As Boolean
C#
public bool FindVariable<T>(
	string identifier,
	out T variable
)
where T : AbstractDeclaration
Visual C++
public:
generic<typename T>
where T : AbstractDeclaration
bool FindVariable(
	String^ identifier, 
	[OutAttribute] T% variable
)

Type Parameters

T
The type of the variable, where T is an AbstractDeclaration.

Parameters

identifier
Type: System.String
The name of the variable to search for.
variable
Type: T %
Upon return, contains the reference to the variable.

Return Value

true (True in Visual Basic) if the variable is found. Otherwise, false (False in Visual Basic).

See Also