次の方法で共有


PropertyInformation.DefaultValue プロパティ

定義

構成属性に関連する既定値を含むオブジェクトを取得します。

public:
 property System::Object ^ DefaultValue { System::Object ^ get(); };
public object DefaultValue { get; }
member this.DefaultValue : obj
Public ReadOnly Property DefaultValue As Object

プロパティ値

構成属性の既定値を含むオブジェクト。

次のコード例は、 DefaultValue プロパティの使用方法を示しています。 このコード例は、 PropertyInformation クラスに提供されるより大きな例の一部です。

// Display the DefaultValue property.
Console.WriteLine("DefaultValue: {0}", 
  propertyItem.DefaultValue);
' Display the DefaultValue property.
Console.WriteLine("DefaultValue: {0}", _
  propertyItem.DefaultValue) _

適用対象