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
- triggerType
Type: Microsoft.TeamFoundation.Build.Client.DefinitionTriggerType
- triggerType2
Type: Microsoft.TeamFoundation.Build.Client.DefinitionTriggerType
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.