SetTag Method

Requires: Base Development System

Class: ProjectItem Methods (ActiveX)

Sets a tag value associated with the LabVIEW project.

Syntax

object.SetTag(tagName, value, [isPersistent])

Parameters

NameTypeDescription
tagNameStringName of the tag. Use the GetTagNames method to retrieve the tag names.
valuevariantSpecifies the tag value as a variant.
isPersistentBooleanIf TRUE, LabVIEW saves the tag information when you save the LabVIEW project. The default is FALSE.

Return Value

none


Submit Feedback  Submit feedback on this topic.

Contact Technical Support  Visit ni.com/support for technical support.