次の方法で共有


ISite.Container プロパティ

クラスによって実装される場合は、 ISite に関連付けられている IContainer を取得します。

ReadOnly Property Container As IContainer
[C#]
IContainer Container {get;}
[C++]
__property IContainer* get_Container();
[JScript]
function get Container() : IContainer;

プロパティ値

ISite に関連付けられている IContainer インスタンス。

解説

Container プロパティが null 参照 (Visual Basic では Nothing) の場合は、 IComponent インスタンスに ISite がないことを示します。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

参照

ISite インターフェイス | ISite メンバ | System.ComponentModel 名前空間