LEADTOOLS (Leadtools.Logging assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Name Property
See Also 
Leadtools.Logging.Configuration Namespace > TypeConfigurationElement Class : Name Property



Gets or sets the name of the element.

Syntax

Visual Basic (Declaration) 
<StringValidatorAttribute(1)>
<ConfigurationPropertyAttribute(Name="name", 
   Options=ConfigurationPropertyOptions.IsRequired Or  _
    ConfigurationPropertyOptions.IsKey, 
   IsDefaultCollection=False, 
   IsRequired=True, 
   IsKey=True)>
Public Property Name As String
Visual Basic (Usage)Copy Code
Dim instance As TypeConfigurationElement
Dim value As String
 
instance.Name = value
 
value = instance.Name
C# 
[StringValidatorAttribute(1)]
[ConfigurationPropertyAttribute(Name="name", 
   Options=ConfigurationPropertyOptions.IsRequired | 
    ConfigurationPropertyOptions.IsKey, 
   IsDefaultCollection=false, 
   IsRequired=true, 
   IsKey=true)]
public string Name {get; set;}
C++/CLI 
[StringValidatorAttribute(1)]
[ConfigurationPropertyAttribute(Name="name", 
   Options=ConfigurationPropertyOptions.IsRequired | 
    ConfigurationPropertyOptions.IsKey, 
   IsDefaultCollection=false, 
   IsRequired=true, 
   IsKey=true)]
public:
property String^ Name {
   String^ get();
   void set (    String^ value);
}

Property Value

The name of the element.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Logging requires a Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features