次の方法で共有


IWebSite インターフェイス

v2 に適用されます。

Web サイトと対話するインターフェイスのプロパティを提供します。

名前空間:  Microsoft.WebMatrix.Extensibility
アセンブリ:  Microsoft.WebMatrix.Extensibility (Microsoft.WebMatrix.Extensibility.dll)

構文

'宣言
Public Interface IWebSite
'使用
Dim instance As IWebSite
public interface IWebSite
public interface class IWebSite
type IWebSite =  interface end
public interface IWebSite

IWebSite 型は、以下のメンバーを公開しています。

プロパティ

  名前 説明
パブリック プロパティ ApplicationIdentifier サイトのアプリケーション用の Web Platform Installer アプリケーション ID を取得します。
パブリック プロパティ IsLocal WebMatrix で開かれた現在の WebSite プロファイルがリモートであるかローカルであるかを示す値を取得します。
パブリック プロパティ Name Web サイトの名前を取得します。
パブリック プロパティ Path ローカル コンピューター上のサイトの物理パスを取得します。
パブリック プロパティ SitePreferences サイトの設定を取得します。
パブリック プロパティ Uri ローカル コンピューター上のサイトの URI を取得します。

先頭に戻る

関連項目

参照

Microsoft.WebMatrix.Extensibility 名前空間