Freigeben über


MimeTextMatch.IgnoreCase-Eigenschaft

Ruft einen Wert ab, der angibt, ob bei der Suche die Groß- und Kleinschreibung im zu durchsuchenden Text nicht berücksichtigt werden soll, oder legt diesen fest.

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

Syntax

'Declaration
Public Property IgnoreCase As Boolean
'Usage
Dim instance As MimeTextMatch
Dim value As Boolean

value = instance.IgnoreCase

instance.IgnoreCase = value
public bool IgnoreCase { get; set; }
public:
property bool IgnoreCase {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_IgnoreCase ()

/** @property */
public void set_IgnoreCase (boolean value)
public function get IgnoreCase () : boolean

public function set IgnoreCase (value : boolean)

Eigenschaftenwert

true, wenn bei der Suche die Groß- und Kleinschreibung nicht berücksichtigt werden soll, andernfalls false. Der Standardwert ist false.

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