This documentation is archived and is not being maintained.
MimeTextMatch::Matches Property
Visual Studio 2008
Gets the collection of text pattern matches that have been found by the search.
Assembly: System.Web.Services (in System.Web.Services.dll)
public: property MimeTextMatchCollection^ Matches { MimeTextMatchCollection^ get (); }
Property Value
Type: System.Web.Services.Description::MimeTextMatchCollectionA MimeTextMatchCollection representing the members of the Group property.
// 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->Name = S"Title"; myMimeTextMatch->Type = S"*/*"; myMimeTextMatch->Pattern = S"'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;
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: