Name Property

Summary

Gets or sets the application's name.

Syntax
C#
VB
C++
[ColumnAttribute(DbType="NVarChar(256)", Storage="_Name")] 
public string Name { get; set; } 
<ColumnAttribute(DbType:="NVarChar(256)", Storage:="_Name")>  _ 
Public Overridable Property Name() As System.String 
 Get 
 Set 
public: [ColumnAttribute(DbType=L"NVarChar(256)", Storage=L"_Name")] 
virtual property System.String^  Name 
{ 
 System.String^  get() 
 System::Void set(System.String^  value) 
} 

Property Value

The application name.

Example
C#
VB
using Leadtools.Ccow.Server; 
using Leadtools.Ccow.Server.Data; 
 
public List<string> GetCcowApplicationsNames() 
{ 
   List<string> applicationsNames = new List<string>(); 
   // Get the CCOW server database 
   using (Database db = Utils.GetDatabase()) 
   { 
      // Add the applications names 
      foreach (CCOWApplication app in db.CCOWApplication) 
      { 
         applicationsNames.Add(app.Name); 
      } 
   } 
 
   return applicationsNames; 
} 
Imports Leadtools.Ccow.Server 
Imports Leadtools.Ccow.Server.Data 
 
Public Function GetCcowApplicationsNames() As List(Of String) 
   Dim applicationsNames As New List(Of String)() 
   ' Get the CCOW server database 
   Using db As Database = Utils.GetDatabase() 
      ' Add the applications names 
      For Each app As CCOWApplication In db.CCOWApplication 
         applicationsNames.Add(app.Name) 
      Next 
   End Using 
 
   Return applicationsNames 
End Function 

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ccow.Server Assembly