combit List & Label 27 - .NET Help
combit.Reporting.Dom Namespace / UserVariable Class
Members Example


In This Topic
    UserVariable Class
    In This Topic
    This class represents a user variable.
    Object Model
    UserVariable Class
    Syntax
    'Declaration
     
    
    Public Class UserVariable 
       Inherits DomItem
    public class UserVariable : DomItem 
    public ref class UserVariable : public DomItem 
    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
       combit.Reporting.Dom.DomItem
          combit.Reporting.Dom.UserVariable

    Requirements

    Platforms: Windows 8.1, Windows 10 (Version 20H2 - 21H2), Windows 11 (21H2), Windows Server 2012 - 2022

    See Also