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

追跡が有効な場合は true。それ以外の場合は false。既定値は true です。

EventTrackingEnabled 属性の Value プロパティの値を取得するコード例を次に示します。
<EventTrackingEnabled(False)> _ Public Class EventTrackingEnabledAttribute_Value Inherits ServicedComponent Public Sub ValueExample() ' Get the EventTrackingEnabledAttribute applied to the class. Dim attribute As EventTrackingEnabledAttribute = CType(Attribute.GetCustomAttribute(Me.GetType(), GetType(EventTrackingEnabledAttribute), False), EventTrackingEnabledAttribute) ' Display the value of the attribute's Value property. MsgBox("EventTrackingEnabledAttribute.Value: " & attribute.Value) End Sub 'ValueExample End Class 'EventTrackingEnabledAttribute_Value
[EventTrackingEnabled(false)] public class EventTrackingEnabledAttribute_Value : ServicedComponent { public void ValueExample() { // Get the EventTrackingEnabledAttribute applied to the class. EventTrackingEnabledAttribute attribute = (EventTrackingEnabledAttribute)Attribute.GetCustomAttribute( this.GetType(), typeof(EventTrackingEnabledAttribute), false); // Display the value of the attribute's Value property. Console.WriteLine("EventTrackingEnabledAttribute.Value: {0}", attribute.Value); } }
/** @attribute EventTrackingEnabled(false) */ public class EventTrackingEnabledAttribute_Value extends ServicedComponent { public void ValueExample() { // Get the EventTrackingEnabledAttribute applied to the class. EventTrackingEnabledAttribute attribute = (EventTrackingEnabledAttribute)(Attribute.GetCustomAttribute( this.GetType(), EventTrackingEnabledAttribute.class.ToType() , false)); // Display the value of the attribute's Value property. Console.WriteLine("EventTrackingEnabledAttribute.Value: {0}", System.Convert.ToString(attribute.get_Value())); } //ValueExample } //EventTrackingEnabledAttribute_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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


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

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