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

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

MimeTextMatch.RepeatsString プロパティ

検索実行回数を示す値を取得または設定します

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

Dim instance As MimeTextMatch
Dim value As String

value = instance.RepeatsString

instance.RepeatsString = value
public string RepeatsString { get;
 set; }
public:
property String^ RepeatsString {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_RepeatsString ()

/** @property */
public void set_RepeatsString (String value)
public function get RepeatsString
 () : String

public function set RepeatsString
 (value : String)

プロパティ
検索実行回数を示す文字列。既定値は "1" です。

解説解説

このプロパティは、Repeats プロパティと同じ情報返します。ただし、返すのは 32 ビット符号付き整数ではなく文字列です。値 "*" は MaxValue に対応します

使用例使用例
' Create an InputBinding.
Dim myInputBinding As New
 InputBinding()
Dim myMimeTextBinding As New
 MimeTextBinding()
Dim myMimeTextMatchCollection1 As New
 MimeTextMatchCollection()
Dim myMimeTextMatch(2) As MimeTextMatch
myMimeTextMatchCollection1 = myMimeTextBinding.Matches

' Intialize the MimeTextMatch. 
For myInt = 0 To 2

   ' Get a new MimeTextMatch.
   myMimeTextMatch(myInt) = New MimeTextMatch()

   ' Assign values to properties of the MimeTextMatch.
   myMimeTextMatch(myInt).Name = "Title" + Convert.ToString(myInt)
   myMimeTextMatch(myInt).Type = "*/*"
   myMimeTextMatch(myInt).Pattern = "TITLE>(.*?)<"
   myMimeTextMatch(myInt).IgnoreCase = True
   myMimeTextMatch(myInt).Capture = 2
   myMimeTextMatch(myInt).Group = 2
   If myInt <> 0 Then

      ' Assign the Repeats property if the index is not 0.
      myMimeTextMatch(myInt).Repeats = 2
   Else

      ' Assign the RepeatsString property if the index is 0.
      myMimeTextMatch(myInt).RepeatsString = "4"
   End If

   ' Add 'MimeTextMatch' instance to collection.
   myMimeTextMatchCollection1.Add(myMimeTextMatch(myInt))
Next myInt
// Create an InputBinding.
InputBinding myInputBinding = new InputBinding();
MimeTextBinding myMimeTextBinding = new MimeTextBinding();
MimeTextMatchCollection myMimeTextMatchCollection1 = 
   new MimeTextMatchCollection();
MimeTextMatch[] myMimeTextMatch = new MimeTextMatch[3];      
  
myMimeTextMatchCollection1 = myMimeTextBinding.Matches;

// Intialize the MimeTextMatch. 
for( myInt = 0 ; myInt < 3 ; myInt++ )
{
   // Get a new MimeTextMatch.
   myMimeTextMatch[ myInt ] = new MimeTextMatch();

   // Assign values to properties of the MimeTextMatch.
   myMimeTextMatch[ myInt ].Name = "Title" + Convert.ToString( myInt );
   myMimeTextMatch[ myInt ].Type = "*/*";
   myMimeTextMatch[ myInt ].Pattern = "TITLE&gt;(.*?)&lt;";
   myMimeTextMatch[ myInt ].IgnoreCase = true;
   myMimeTextMatch[ myInt ].Capture = 2;
   myMimeTextMatch[ myInt ].Group = 2;     
   if( myInt != 0 )
   {
      // Assign the Repeats property if the index is not 0.
      myMimeTextMatch[ myInt ].Repeats = 2;
   }
   else
   {
      // Assign the RepeatsString property if the index is 0.
      myMimeTextMatch[ myInt ].RepeatsString = "4";
   }
   // Add the MimeTextMatch to the collection.
   myMimeTextMatchCollection1.Add( myMimeTextMatch[ myInt ] );
}
// Create an InputBinding.
InputBinding^ myInputBinding = gcnew InputBinding;
MimeTextBinding^ myMimeTextBinding = gcnew MimeTextBinding;
MimeTextMatchCollection^ myMimeTextMatchCollection1 = gcnew MimeTextMatchCollection;
array<MimeTextMatch^>^myMimeTextMatch = gcnew array<MimeTextMatch^>(3);
myMimeTextMatchCollection1 = myMimeTextBinding->Matches;

// Intialize the MimeTextMatch.
for ( myInt = 0; myInt < 3; myInt++ )
{
   // Get a new MimeTextMatch.
   myMimeTextMatch[ myInt ] = gcnew MimeTextMatch;

   // Assign values to properties of the MimeTextMatch.
   myMimeTextMatch[ myInt ]->Name = String::Format( "Title{0}", Convert::ToString(
 myInt ) );
   myMimeTextMatch[ myInt ]->Type = "*/*";
   myMimeTextMatch[ myInt ]->Pattern = "TITLE&gt;(.*?)&lt;";
   myMimeTextMatch[ myInt ]->IgnoreCase = true;
   myMimeTextMatch[ myInt ]->Capture = 2;
   myMimeTextMatch[ myInt ]->Group = 2;
   if ( myInt != 0 )
   {
      
      // Assign the Repeats property if the index is not 0.
      myMimeTextMatch[ myInt ]->Repeats = 2;
   }
   else
   {
      
      // Assign the RepeatsString property if the index is 0.
      myMimeTextMatch[ myInt ]->RepeatsString = "4";
   }
   myMimeTextMatchCollection1->Add( myMimeTextMatch[ myInt ] );

}
// Create an InputBinding.
InputBinding myInputBinding = new InputBinding();
MimeTextBinding myMimeTextBinding = new MimeTextBinding();
MimeTextMatchCollection myMimeTextMatchCollection1 = 
    new MimeTextMatchCollection();
MimeTextMatch myMimeTextMatch[] = new MimeTextMatch[3];
myMimeTextMatchCollection1 = myMimeTextBinding.get_Matches();

// Intialize the MimeTextMatch. 
for (myInt = 0; myInt < 3; myInt++) {
    // Get a new MimeTextMatch.
    myMimeTextMatch.set_Item(myInt, new MimeTextMatch());

    // Assign values to properties of the MimeTextMatch.
    ((MimeTextMatch)myMimeTextMatch.get_Item(myInt)).
        set_Name("Title" + Convert.ToString(myInt));
    ((MimeTextMatch)myMimeTextMatch.get_Item(myInt)).
        set_Type("*/*");
    ((MimeTextMatch)myMimeTextMatch.get_Item(myInt)).
        set_Pattern("TITLE&gt;(.*?)&lt;");
    ((MimeTextMatch)myMimeTextMatch.get_Item(myInt)).
        set_IgnoreCase(true);
    ((MimeTextMatch)myMimeTextMatch.get_Item(myInt)).set_Capture(2);
    ((MimeTextMatch)myMimeTextMatch.get_Item(myInt)).set_Group(2);
    if (myInt != 0) {
        // Assign the Repeats property if the index is not 0.
        ((MimeTextMatch)myMimeTextMatch.get_Item(myInt)).
            set_Repeats(2);
    }
    else {
        // Assign the RepeatsString property if the index is 0.
        ((MimeTextMatch)myMimeTextMatch.get_Item(myInt)).
            set_RepeatsString("4");
    }
    // Add the MimeTextMatch to the collection.
    myMimeTextMatchCollection1.Add(myMimeTextMatch.get_Item(myInt));
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
MimeTextMatch クラス
MimeTextMatch メンバ
System.Web.Services.Description 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からMimeTextMatch.RepeatsString プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からMimeTextMatch.RepeatsString プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からMimeTextMatch.RepeatsString プロパティ を検索

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS