RegexCompilationInfo.Options Proprietà
Definizione
Ottiene o imposta le opzioni da utilizzare per compilare l'espressione regolare.Gets or sets the options to use when compiling the regular expression.
public:
property System::Text::RegularExpressions::RegexOptions Options { System::Text::RegularExpressions::RegexOptions get(); void set(System::Text::RegularExpressions::RegexOptions value); };
public System.Text.RegularExpressions.RegexOptions Options { get; set; }
member this.Options : System.Text.RegularExpressions.RegexOptions with get, set
Public Property Options As RegexOptions
Valore della proprietà
Combinazione bit per bit dei valori dell'enumerazione.A bitwise combination of the enumeration values.
Commenti
Il CompileToAssembly metodo genera un assembly che contiene le espressioni regolari compilate.The CompileToAssembly method generates an assembly that contains compiled regular expressions. Non è pertanto necessario specificare Compiled come uno dei valori di questa proprietà.Therefore, you do not have to specify Compiled as one of the values of this property. Se è presente, l' Compiled opzione viene ignorata.If it is present, the Compiled option is ignored.