Freigeben über


MimeTextMatch.Matches-Eigenschaft

Ruft die Auflistung der Entsprechungen von Textmustern ab, die bei der Suche gefunden wurden.

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

Syntax

'Declaration
Public ReadOnly Property Matches As MimeTextMatchCollection
'Usage
Dim instance As MimeTextMatch
Dim value As MimeTextMatchCollection

value = instance.Matches
public MimeTextMatchCollection Matches { get; }
public:
property MimeTextMatchCollection^ Matches {
    MimeTextMatchCollection^ get ();
}
/** @property */
public MimeTextMatchCollection get_Matches ()
public function get Matches () : MimeTextMatchCollection

Eigenschaftenwert

Eine MimeTextMatchCollection, die die Member der Group-Eigenschaft darstellt.

Beispiel

' 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
// 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 = "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 = 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);

Plattformen

Windows 98, Windows 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

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

MimeTextMatch-Klasse
MimeTextMatch-Member
System.Web.Services.Description-Namespace