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

SynchronizationOption 値の 1 つ。既定値は Required です。

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


Weblioに収録されているすべての辞書からSynchronizationAttribute.Value プロパティを検索する場合は、下記のリンクをクリックしてください。

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