更新: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
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。
請參閱
參考
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator 命名空間
GetOutputs()