Name Property

Summary

Gets or sets the name of the element.

Syntax
C#
VB
C++
[ConfigurationPropertyAttribute("name", DefaultValue="Name", IsRequired=true, IsKey=true)] 
[StringValidatorAttribute(MinLength=1)] 
public string Name { get; set; } 
  
<ConfigurationPropertyAttribute(Name="name",  
   Options=ConfigurationPropertyOptions.IsRequired Or  _ 
    ConfigurationPropertyOptions.IsKey,  
   IsDefaultCollection=False,  
   IsRequired=True,  
   IsKey=True)> 
<StringValidatorAttribute(1)> 
Public Property Name As String 
[ConfigurationPropertyAttribute(Name="name",  
   Options=ConfigurationPropertyOptions.IsRequired |  
    ConfigurationPropertyOptions.IsKey,  
   IsDefaultCollection=false,  
   IsRequired=true,  
   IsKey=true)] 
[StringValidatorAttribute(1)] 
public: 
property String^ Name { 
   String^ get(); 
   void set (    String^ ); 
} 

Property Value

The name of the element.

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.Logging Assembly