C#
VB
C++
Gets or sets the application's name.
[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)
}
The application name.
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
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET