MimeTextMatch.IgnoreCase Property
.NET Framework 3.0
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)
Assembly: System.Web.Services (in system.web.services.dll)
/** @property */ public boolean get_IgnoreCase () /** @property */ public void set_IgnoreCase (boolean value)
public function get IgnoreCase () : boolean public function set IgnoreCase (value : boolean)
Not applicable.
Property Value
true if the search should disregard case; otherwise, false. The default is false.// Create an OutputBinding. OutputBinding^ myOutputBinding = gcnew OutputBinding; // Create a MimeTextBinding. MimeTextBinding^ myMimeTextBinding = gcnew MimeTextBinding; // Create a MimeTextMatch. MimeTextMatch^ myMimeTextMatch = gcnew MimeTextMatch; MimeTextMatchCollection^ myMimeTextMatchCollection; // 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;
// Create an OutputBinding.
OutputBinding myOutputBinding = new OutputBinding();
// Create a MimeTextBinding.
MimeTextBinding myMimeTextBinding = new MimeTextBinding();
// Create a MimeTextMatch.
MimeTextMatch myMimeTextMatch = new MimeTextMatch();
MimeTextMatchCollection myMimeTextMatchCollection;
// Initialize properties of the MimeTextMatch.
myMimeTextMatch.set_Name("Title");
myMimeTextMatch.set_Type("*/*");
myMimeTextMatch.set_Pattern("'TITLE>(.*?)<");
myMimeTextMatch.set_IgnoreCase(true);
// Initialize a MimeTextMatchCollection.
myMimeTextMatchCollection = myMimeTextBinding.get_Matches();
// Add the MimeTextMatch to the MimeTextMatchCollection.
myMimeTextMatchCollection.Add(myMimeTextMatch);
myOutputBinding.get_Extensions().Add(myMimeTextBinding);
// Add the OutputBinding to the OperationBinding.
myOperationBinding.set_Output(myOutputBinding);
Windows 98, Windows Server 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
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: