Name

RegexCompilationInfo

Synopsis

This class holds the information that is needed to compile a regular expression to an assembly with Regex.CompileToAssembly(). The constructor takes five arguments, which correspond to its available properties: the pattern string, the RegexOptions option set, the name of the compiled type, the namespace for the type, and a boolean indicating if the type is public (true) or private (false).

Public Class RegexCompilationInfo
                  ' Public Constructors
   Public Sub New(ByVal pattern As String, 
        ByVal options As RegexOptions, 
        ByVal name As String, 
        ByVal fullnamespace As String, 
        ByVal ispublic As Boolean) 
' Public Instance Properties
   Public Property IsPublic As Boolean  
   Public Property Name As String  
   Public Property Namespace As String  
   Public Property Options As RegexOptions  
   Public Property Pattern As String  
End Class

Passed To

Regex.CompileToAssembly()

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.