BuildServerExtensions.HasFlag Method (DefinitionTriggerType, DefinitionTriggerType)

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function HasFlag ( _
    triggerType As DefinitionTriggerType, _
    triggerType2 As DefinitionTriggerType _
) As Boolean
public static bool HasFlag(
    this DefinitionTriggerType triggerType,
    DefinitionTriggerType triggerType2
)
[ExtensionAttribute]
public:
static bool HasFlag(
    DefinitionTriggerType triggerType, 
    DefinitionTriggerType triggerType2
)
static member HasFlag : 
        triggerType:DefinitionTriggerType * 
        triggerType2:DefinitionTriggerType -> bool
public static function HasFlag(
    triggerType : DefinitionTriggerType, 
    triggerType2 : DefinitionTriggerType
) : 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 DefinitionTriggerType. 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