次の方法で共有


IComponent.Site プロパティ

IComponent に関連付けられた ISite を取得または設定します。

Property Site As ISite
[C#]
ISite Site {get; set;}
[C++]
__property ISite* get_Site();__property void set_Site(ISite*);
[JScript]
function get Site() : ISite;function set Site(ISite);

プロパティ値

コンポーネントに関連付けられている ISite オブジェクト。コンポーネントにサイトがない場合は null 参照 (Visual Basic では Nothing) 。

解説

サイトは、さらに、コンポーネント名などの、コンテナに固有でコンポーネント別の情報のリポジトリとしての役割も果たします。

必要条件

プラットフォーム: 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

参照

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