SmartPartAttribute Class

This attribute flags an object as a smart part. The smart part will then be added to the WorkItem.

Namespace: Microsoft.Practices.CompositeUI.SmartParts
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class)> _
Public NotInheritable Class SmartPartAttribute
    Inherits Attribute
'Usage
Dim instance As SmartPartAttribute
[AttributeUsageAttribute(AttributeTargets.Class)] 
public sealed class SmartPartAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class)] 
public ref class SmartPartAttribute sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class) */ 
public final class SmartPartAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Class) 
public final class SmartPartAttribute extends Attribute

Inheritance Hierarchy

System.Object
   System.Attribute
    Microsoft.Practices.CompositeUI.SmartParts.SmartPartAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SmartPartAttribute Members
Microsoft.Practices.CompositeUI.SmartParts Namespace