Gets the name used to identify this collection of elements in the configuration file when overridden in a derived class.
Syntax
Visual Basic (Declaration) | |
---|
Overrides Protected NotOverridable ReadOnly Property ElementName As String |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As LoggerCollection
Dim value As String
value = instance.ElementName |
C# | |
---|
protected override string ElementName {get;} |
C++/CLI | |
---|
protected:
property String^ ElementName override {
String^ get();
} |
Property Value
The name of the collection; otherwise, an empty string. The default is an empty string.
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