Function SetObjTags

 

Function SetObjTags( ByVal deviceHnd&, ByRef sObjTags$ ) as Long

 

Purpose: Set tags field of the object.

Works in:      OneLiner and Power Flow.

Parameters:     

deviceHnd    [in] data object handle

sObjTags       [in] object tag string

Return value:

1               success

0               failure

Remarks:      

Example:

 

If SetObjTags( nSCapHnd, “ABCD” ) = 0 Then GoTo HasError      ‘Set object tags to “ABCD”