次の方法で共有


ImmutableObjectAttribute コンストラクタ

ImmutableObjectAttribute クラスの新しいインスタンスを初期化します。

名前空間: System.ComponentModel
アセンブリ: System (system.dll 内)

構文

'宣言
Public Sub New ( _
    immutable As Boolean _
)
'使用
Dim immutable As Boolean

Dim instance As New ImmutableObjectAttribute(immutable)
public ImmutableObjectAttribute (
    bool immutable
)
public:
ImmutableObjectAttribute (
    bool immutable
)
public ImmutableObjectAttribute (
    boolean immutable
)
public function ImmutableObjectAttribute (
    immutable : boolean
)

パラメータ

  • immutable
    オブジェクトが不変である場合は true。それ以外の場合は false

解説

この属性は、展開可能なオブジェクトを読み取り専用として表示するかどうかを決定するために、通常は [プロパティ] ウィンドウで使用されます。

プラットフォーム

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 2.0、1.1、1.0

参照

関連項目

ImmutableObjectAttribute クラス
ImmutableObjectAttribute メンバ
System.ComponentModel 名前空間