MustRunInClientContextAttribute.Value プロパティ
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)

オブジェクトが作成者のコンテキストで作成される場合は true。それ以外の場合は false。既定値は true です。

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


Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


MustRunInClientContextAttribute クラス
MustRunInClientContextAttribute メンバ
System.EnterpriseServices 名前空間
Weblioに収録されているすべての辞書からMustRunInClientContextAttribute.Value プロパティを検索する場合は、下記のリンクをクリックしてください。

- MustRunInClientContextAttribute.Value プロパティのページへのリンク