MimeTextMatch.IgnoreCase Property

 

Gets or sets a value indicating whether the search should disregard the case of the text to be searched.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

Public Property IgnoreCase As Boolean

Property Value

Type: System.Boolean

true if the search should disregard case; otherwise, false. The default is false.

' Create an OutputBinding.
Dim myOutputBinding As New OutputBinding()

' Create a MimeTextBinding.
Dim myMimeTextBinding As New MimeTextBinding()

' Create a MimeTextMatch.
Dim myMimeTextMatch As New MimeTextMatch()
Dim myMimeTextMatchCollection As MimeTextMatchCollection

' Initialize properties of the MimeTextMatch.
myMimeTextMatch.Name = "Title"
myMimeTextMatch.Type = "*/*"
myMimeTextMatch.Pattern = "'TITLE>(.*?)<"
myMimeTextMatch.IgnoreCase = True

' Initialize a MimeTextMatchCollection.
myMimeTextMatchCollection = myMimeTextBinding.Matches

' Add the MimeTextMatch to the MimeTextMatchCollection.
myMimeTextMatchCollection.Add(myMimeTextMatch)
myOutputBinding.Extensions.Add(myMimeTextBinding)

' Add the OutputBinding to the OperationBinding.
myOperationBinding.Output = myOutputBinding

.NET Framework
Available since 1.1
Return to top
Show: