다음을 통해 공유


MimeTextMatch.IgnoreCase 속성

정의

검색할 때 검색 텍스트의 대/소문자를 구분하지 않아야 하는지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool IgnoreCase { bool get(); void set(bool value); };
public bool IgnoreCase { get; set; }
member this.IgnoreCase : bool with get, set
Public Property IgnoreCase As Boolean

속성 값

검색할 때 대/소문자를 구분하지 않으려면 true이고, 그렇지 않으면 false입니다. 기본값은 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.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.
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

적용 대상