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
<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple:=False, Inherited:=True)> _
<CLSCompliantAttribute(True)> _
Public NotInheritable Class InputAttribute
    Inherits Attribute
'Usage
Dim instance As InputAttribute
[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple=false, Inherited=true)] 
[CLSCompliantAttribute(true)] 
public sealed class InputAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property, AllowMultiple=false, Inherited=true)] 
[CLSCompliantAttribute(true)] 
public ref class InputAttribute sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple=false, Inherited=true) */ 
/** @attribute CLSCompliantAttribute(true) */ 
public final class InputAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple=false, Inherited=true) 
CLSCompliantAttribute(true) 
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

Tasks

How to: Add Input Properties to a Data Generator

Reference

InputAttribute Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
InputDescriptor
GetInputs
GetInputs
GetInputs