Field.HasPatternMatch Property
Gets a flag that indicates whether the value of this field must match a pattern.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
声明
Public ReadOnly Property HasPatternMatch As Boolean
Get
public bool HasPatternMatch { get; }
public:
property bool HasPatternMatch {
bool get ();
}
member HasPatternMatch : bool
function get HasPatternMatch () : boolean
Property Value
Type: System.Boolean
True if the value of this field must match a pattern; otherwise, false.
Remarks
The pattern constraint for this field is not available directly through the object model. You must use the Export method to export the WorkItemType definition to XML and then parse the output to identify any pattern matches for this field.
.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.
See Also
Reference
Microsoft.TeamFoundation.WorkItemTracking.Client Namespace
Other Resources
Specifying a String Pattern that a Value Must Match (Match Pattern)