MimeTextMatch.Name Property
.NET Framework 3.0
Gets or sets the name of the MimeTextMatch.
Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in system.web.services.dll)
Assembly: System.Web.Services (in system.web.services.dll)
// 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: