combit List & Label 25 - .NET Online Web Help
CollectionUserVariables Class
Members  Example 


combit.ListLabel25.Dom Namespace : CollectionUserVariables Class
This collection contains the user variables of the current project. It can also be used to add new user variables to the project.
Object Model
CollectionUserVariables ClassUserVariable Class
Syntax
'Declaration
 
Public Class CollectionUserVariables 
   Inherits DomCollectionBase
public class CollectionUserVariables : DomCollectionBase 
public ref class CollectionUserVariables : public DomCollectionBase 
Example
// add user variable
UserVariable userVar = new UserVariable(proj.UserVariables); 
 
// set properties
userVar.Name = "@User01"; 
userVar.Contents = "1234"; 
 
// iterate all user variables
foreach(UserVariable userVariable in proj.UserVariables) 
{ 
    string userVarName = userVariable.Name; 
}
Inheritance Hierarchy

System.Object
   System.Collections.CollectionBase
      combit.ListLabel25.Dom.DomCollectionBase
         combit.ListLabel25.Dom.CollectionUserVariables

Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

CollectionUserVariables Members
combit.ListLabel25.Dom Namespace