TagAttribute Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Unity Application Block information can be found at the Unity Application Block site.

A simple attribute used to "tag" classes, methods, or properties with a string that can later be matched via the TagAttributeMatchingRule.

Namespace: Microsoft.Practices.Unity.InterceptionExtension
Assembly: Microsoft.Practices.Unity.Interception (in Microsoft.Practices.Unity.Interception.dll)


<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Method Or AttributeTargets.Property, AllowMultiple := True)> _
Public NotInheritable Class TagAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Property, AllowMultiple = true)]
public sealed class TagAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Method|AttributeTargets::Property, AllowMultiple = true)]
public ref class TagAttribute sealed : public Attribute
public final class TagAttribute extends Attribute

Inheritance Hierarchy


See Also

TagAttribute Members

Microsoft.Practices.Unity.InterceptionExtension Namespace