InputAttribute Class

The attribute that identifies input properties of generators.

Namespace:  Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly:  Microsoft.VisualStudio.TeamSystem.Data (in Microsoft.VisualStudio.TeamSystem.Data.dll)


<CLSCompliantAttribute(True)> _
<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple := False,  _
    Inherited := True)> _
Public NotInheritable Class InputAttribute _
    Inherits Attribute
Dim instance As InputAttribute
[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false, 
    Inherited = true)]
public sealed class InputAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property, AllowMultiple = false, 
    Inherited = true)]
public ref class InputAttribute sealed : public Attribute
public final class InputAttribute extends Attribute


Use this attribute to identify input properties of custom data generators. These properties appear in the Properties window, where the user can set them. DefaultGeneratorDesigner uses this attribute to construct an array of InputDescriptors. This behavior is part of the declarative extensibility model in which the author of a custom generator can specify inputs and outputs in attributes, instead of explicitly constructing designers that provide input and output data.

Inheritance Hierarchy


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


InputAttribute Members

Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace





Other Resources

How to: Add Input Properties to a Data Generator