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

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

MessagePropertyFilter.DefaultLabelSize プロパティ

ラベル バッファ既定サイズ (バイト数) を取得または設定します

名前空間: System.Messaging
アセンブリ: System.Messaging (system.messaging.dll 内)
構文構文

Public Property DefaultLabelSize As
 Integer
Dim instance As MessagePropertyFilter
Dim value As Integer

value = instance.DefaultLabelSize

instance.DefaultLabelSize = value
public int DefaultLabelSize { get;
 set; }
public:
property int DefaultLabelSize {
    int get ();
    void set (int value);
}
/** @property */
public int get_DefaultLabelSize ()

/** @property */
public void set_DefaultLabelSize (int
 value)
public function get DefaultLabelSize
 () : int

public function set DefaultLabelSize
 (value : int)

プロパティ
メッセージ受信時作成されるラベル バッファ既定サイズ既定値255 バイトです。

例外例外
例外種類条件

ArgumentException

代入値が負の値です。

解説解説
使用例使用例

DefaultLabelSize プロパティ使用方法を示すコード例次に示します

// Set the filter's DefaultLabelSize property to 1024 bytes.
queue.MessageReadPropertyFilter.DefaultLabelSize = 1024;

// Display the new value of the filter's DefaultLabelSize property.
Console.WriteLine("MessageReadPropertyFilter.DefaultLabelSize: {0}",
    queue.MessageReadPropertyFilter.DefaultLabelSize.ToString());
// Set the filter's DefaultLabelSize 
// property to 1024 bytes.
queue->MessageReadPropertyFilter->
    DefaultLabelSize = 1024;

// Display the new value of the filter's 
// DefaultLabelSize property.
Console::WriteLine(
    "MessageReadPropertyFilter.DefaultLabelSize: {0}", 
    queue->MessageReadPropertyFilter->DefaultLabelSize);

// Set the filter's DefaultLabelSize property to 1024 bytes.
queue.get_MessageReadPropertyFilter().set_DefaultLabelSize(1024);
// Display the new value of the filter's DefaultLabelSize property.
Console.WriteLine("MessageReadPropertyFilter.DefaultLabelSize: {0}", 
    System.Convert.ToString(queue.get_MessageReadPropertyFilter().
    get_DefaultLabelSize()));
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


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

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS