[ConfigurationPropertyAttribute(Name="name",
Options=ConfigurationPropertyOptions.IsRequired |
ConfigurationPropertyOptions.IsKey,
IsDefaultCollection=false,
IsRequired=true,
IsKey=true)]
[StringValidatorAttribute(1)]
public string Name {get; set;}
'Declaration
<ConfigurationPropertyAttribute(Name="name",
Options=ConfigurationPropertyOptions.IsRequired Or _
ConfigurationPropertyOptions.IsKey,
IsDefaultCollection=False,
IsRequired=True,
IsKey=True)>
<StringValidatorAttribute(1)>
Public Property Name As String
'Usage
Dim instance As LoggerElement
Dim value As String
instance.Name = value
value = instance.Name
[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^ value);
}