MimeTextBinding.Matches プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > MimeTextBinding.Matches プロパティの意味・解説 

MimeTextBinding.Matches プロパティ

HTTP 伝送での検索対象となる MIME テキスト パターンコレクション取得します

名前空間: System.Web.Services.Description
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

Public ReadOnly Property
 Matches As MimeTextMatchCollection
Dim instance As MimeTextBinding
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

プロパティ
検索対象MIME テキスト パターンを表す MimeTextMatchCollection。

解説解説
使用例使用例

Matches プロパティ使用する例を次に示します

' 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);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
MimeTextBinding クラス
MimeTextBinding メンバ
System.Web.Services.Description 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

MimeTextBinding.Matches プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



MimeTextBinding.Matches プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS