MimeTextMatch.IgnoreCase プロパティ
検索時に検索対象テキストの大文字小文字を区別しないかどうかを示す値を取得または設定します。
Public Property IgnoreCase As Boolean
[C#]
public bool IgnoreCase {get; set;}
[C++]
public: __property bool get_IgnoreCase();public: __property void set_IgnoreCase(bool);
[JScript]
public function get IgnoreCase() : Boolean;public function set IgnoreCase(Boolean);
プロパティ値
検索時に大文字小文字を区別しない場合は true 。それ以外の場合は false 。既定値は false です。
使用例
' 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
[C#]
// 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;
[C++]
// 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;
[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン をクリックします。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
MimeTextMatch クラス | MimeTextMatch メンバ | System.Web.Services.Description 名前空間