RegexCompilationInfo.Pattern Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the regular expression to compile.
public:
property System::String ^ Pattern { System::String ^ get(); void set(System::String ^ value); };
public string Pattern { get; set; }
member this.Pattern : string with get, set
Public Property Pattern As String
Property Value
The regular expression to compile.
Exceptions
The value for this property is null
.
Remarks
The Pattern property can contain any valid regular expression. If the value of the Pattern property is not a syntactically correct regular expression pattern, the call to the CompileToAssembly method throws an ArgumentException.
Applies to
See also
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.