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

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

MustRunInClientContextAttribute.Value プロパティ

属性付きオブジェクト作成者コンテキスト作成されるかどうかを示す値を取得します

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

使用例使用例

MustRunInClientContext 属性Value プロパティの値を取得するコード例次に示します

<MustRunInClientContext(False)>  _
Public Class MustRunInClientContextAttribute_Value
    Inherits ServicedComponent
    
    Public Sub ValueExample() 
        ' Get the MustRunInClientContextAttribute applied to the class.
        Dim attribute As MustRunInClientContextAttribute
 = CType(Attribute.GetCustomAttribute(Me.GetType(), GetType(MustRunInClientContextAttribute),
 False), MustRunInClientContextAttribute)
        
        ' Display the value of the attribute's Value property.
        MsgBox("MustRunInClientContextAttribute.Value: "
 & attribute.Value)
    
    End Sub 'ValueExample
End Class 'MustRunInClientContextAttribute_Value
[MustRunInClientContext(false)]
public class MustRunInClientContextAttribute_Value
 : ServicedComponent
{
    public void ValueExample()
    {
        // Get the MustRunInClientContextAttribute applied to the class.
        MustRunInClientContextAttribute attribute =
            (MustRunInClientContextAttribute)Attribute.GetCustomAttribute(
            this.GetType(),
            typeof(MustRunInClientContextAttribute),
            false);

        // Display the value of the attribute's Value property.
        Console.WriteLine("MustRunInClientContextAttribute.Value: {0}"
,
            attribute.Value);
    }
}
/** @attribute MustRunInClientContext(false)
 */
public class MustRunInClientContextAttribute_Value
 extends ServicedComponent
{
    public void ValueExample()
    {
        // Get the MustRunInClientContextAttribute applied to the class.
        MustRunInClientContextAttribute attribute = 
            (MustRunInClientContextAttribute)(Attribute.GetCustomAttribute(
            this.GetType(), MustRunInClientContextAttribute.class.ToType()
,
            false));

        // Display the value of the attribute's Value property.
        Console.WriteLine("MustRunInClientContextAttribute.Value: {0}"
,
            (System.Boolean)attribute.get_Value());
    } //ValueExample
} //MustRunInClientContextAttribute_Value
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
MustRunInClientContextAttribute クラス
MustRunInClientContextAttribute メンバ
System.EnterpriseServices 名前空間


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

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS