Freigeben über


RegexCompilationInfo.Options-Eigenschaft

Ruft die bei der Kompilierung des regulären Ausdrucks zu verwendenden Compileroptionen ab oder legt diese fest.

Namespace: System.Text.RegularExpressions
Assembly: System (in system.dll)

Syntax

'Declaration
Public Property Options As RegexOptions
'Usage
Dim instance As RegexCompilationInfo
Dim value As RegexOptions

value = instance.Options

instance.Options = value
public RegexOptions Options { get; set; }
public:
property RegexOptions Options {
    RegexOptions get ();
    void set (RegexOptions value);
}
/** @property */
public RegexOptions get_Options ()

/** @property */
public void set_Options (RegexOptions value)
public function get Options () : RegexOptions

public function set Options (value : RegexOptions)

Eigenschaftenwert

Eine bitweise Kombination von RegexOptions-Werten.

Hinweise

RegexOptions.Compiled wird ignoriert, da alle regulären Ausdrücke mit diesem Mechanismus kompiliert werden.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

RegexCompilationInfo-Klasse
RegexCompilationInfo-Member
System.Text.RegularExpressions-Namespace