Exception | Description |
---|---|
System.InvalidOperationException | Occurs when the IsMutable value of the owning Grammar is False. |
System.ArgumentException | Occurs when the specified value contains invalid regular expression elements. |
If LookaheadPattern is set, IsLookaheadNegative indicates whether the token should be used based on whether it can match the text following the token. If IsLookaheadNegative is True, the token will only be used if the LookaheadPattern cannot match the text after the token. If False, the token will only be used if the LookaheadPattern can match the text after the token.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2