共用方式為


Validate<T> 委派

命名空間:  Microsoft.TeamFoundation.Build.Common
組件:  Microsoft.TeamFoundation.Build.Common (在 Microsoft.TeamFoundation.Build.Common.dll 中)

語法

'宣告
Public Delegate Sub Validate(Of T) ( _
    argumentName As String, _
    obj As T, _
    allowNull As Boolean, _
    errorMessage As String _
)
public delegate void Validate<T>(
    string argumentName,
    T obj,
    bool allowNull,
    string errorMessage
)

型別參數

  • T

參數

  • obj
    型別:T

請參閱

參考

Microsoft.TeamFoundation.Build.Common 命名空間