VeriStand .NET API Reference

CustomDeviceBase.RenameNode Method (String, Boolean)

Renames this node to the name you specify, if the name that you specify is not already in use by a sibling of this node.

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 RenameNode ( _
	NewName As String, _
	ForceRename As Boolean _
) As Boolean
C#
public bool RenameNode(
	string NewName,
	bool ForceRename
)
Visual C++
public:
bool RenameNode(
	String^ NewName, 
	bool ForceRename
)

Parameters

NewName
Type: System.String
The new name of the node.
ForceRename
Type: System.Boolean
Renames the node even if it is protected.

Return Value

true (True in Visual Basic) if the node was renamed successfully; otherwise false (False in Visual Basic).

See Also

Log in to get a better experience