CategoryFilterEntry.Name Property

Gets or sets the name of the element.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)

Syntax

'Declaration
<ReferenceAttribute(GetType(NamedElementCollection(Of TraceSourceData)), GetType(TraceSourceData))> _
<ViewModelAttribute("Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.CollectionEditorContainedElementReferenceProperty, Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime")> _
Public Overrides Property Name As String
[ReferenceAttribute(typeof(NamedElementCollection<TraceSourceData>), typeof(TraceSourceData))]
[ViewModelAttribute("Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.CollectionEditorContainedElementReferenceProperty, Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime")]
public override string Name { get; set; }
[ReferenceAttribute(typeof(NamedElementCollection<TraceSourceData^>), typeof(TraceSourceData))]
[ViewModelAttribute(L"Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.CollectionEditorContainedElementReferenceProperty, Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime")]
public:
virtual property String^ Name {
    String^ get () override;
    void set (String^ value) override;
}
public override function get Name () : String
public override function set Name (value : String)

Field Value

The name of the element.

Implements

IObjectWithName.Name

Remarks

Overriden in order to annotate with designtime attribute.

See Also

CategoryFilterEntry Class

Microsoft.Practices.EnterpriseLibrary.Logging.Configuration Namespace