Delen via


BuildServerExtensions.HasFlag Method (BuildReason, BuildReason)

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function HasFlag ( _
    reason As BuildReason, _
    reason2 As BuildReason _
) As Boolean
public static bool HasFlag(
    this BuildReason reason,
    BuildReason reason2
)
[ExtensionAttribute]
public:
static bool HasFlag(
    BuildReason reason, 
    BuildReason reason2
)
static member HasFlag : 
        reason:BuildReason * 
        reason2:BuildReason -> bool
public static function HasFlag(
    reason : BuildReason, 
    reason2 : BuildReason
) : boolean

Parameters

Return Value

Type: System.Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BuildReason. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

BuildServerExtensions Class

HasFlag Overload

Microsoft.TeamFoundation.Build.Client Namespace