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)

Syntax

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

Remarks

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

System.Object
  System.Attribute
    Microsoft.VisualStudio.TeamSystem.Data.DataGenerator.InputAttribute

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

InputAttribute Members

Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace

InputDescriptor

GetInputs

GetInputs

GetInputs

Other Resources

How to: Add Input Properties to a Data Generator