RegexWorker.ProcessRegex Method (String, String)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Used internally at run time to determine whether the specified request-header value matches any of the capabilities of an internal collection of browsers.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

Public Function ProcessRegex (
	target As String,
	regexExpression As String
) As Boolean

Parameters

target
Type: System.String

The capabilities value from an internal collection of browsers.

regexExpression
Type: System.String

The specified request-header value.

Return Value

Type: System.Boolean

true if the specified request-header value matches any of the capabilities of an internal collection of browsers; otherwise, false. The default is false.

.NET Framework
Available since 2.0
Return to top
Show: