OutputAttribute 类

更新:2007 年 11 月

用来标识数据生成器的输出属性 (Property) 的属性 (Attribute)。

命名空间:  Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
程序集:  Microsoft.VisualStudio.TeamSystem.Data(在 Microsoft.VisualStudio.TeamSystem.Data.dll 中)

语法

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

备注

使用此属性 (Attribute) 可以标识自定义数据生成器的输出属性 (Property)。用户可以在“列详细信息”窗口上的“生成器输出”列中查看和选择这些属性。

继承层次结构

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

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

另请参见

参考

OutputAttribute 成员

Microsoft.VisualStudio.TeamSystem.Data.DataGenerator 命名空间

GetOutputs

GetOutputs

GetOutputs()

其他资源

如何:将输出属性添加到数据生成器