次の方法で共有


IWebFormsDocumentService インターフェイス

Web フォーム ドキュメントの読み込み状態の追跡、読み込み時のイベント処理、ドキュメントの場所へのアクセス、ドキュメントを元に戻すサービスの管理、ドキュメント内の新しい選択内容の設定の各サービスにアクセスするメソッドを提供します。

この型のすべてのメンバの一覧については、IWebFormsDocumentService メンバ を参照してください。

Public Interface IWebFormsDocumentService
[C#]
public interface IWebFormsDocumentService
[C++]
public __gc __interface IWebFormsDocumentService
[JScript]
public interface IWebFormsDocumentService

使用例

 
' Obtains an instance of the IWebFormsDocumentService
' using the Site : IServiceProvider.GetService method.
Dim docService As System.Web.UI.Design.IWebFormsDocumentService = _
    CType(site.GetService(GetType(System.Web.UI.Design.IWebFormsDocumentService)), _
    System.Web.UI.Design.IWebFormsDocumentService)

[C#] 
// Obtains an instance of the IWebFormsDocumentService
// using the Site : IServiceProvider.GetService method.            
IWebFormsDocumentService docService = (IWebFormsDocumentService)site.GetService(
    typeof(IWebFormsDocumentService));

[C++] 
// Obtains an instance of the IWebFormsDocumentService
// using the Site : IServiceProvider.GetService method.
IWebFormsDocumentService* docService = dynamic_cast<IWebFormsDocumentService*>(site->GetService(__typeof(IWebFormsDocumentService)));

[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン 言語のフィルタ をクリックします。

必要条件

名前空間: System.Web.UI.Design

プラットフォーム: Windows 2000, Windows XP Professional, Windows Server 2003 ファミリ

アセンブリ: System.Design (System.Design.dll 内)

参照

IWebFormsDocumentService メンバ | System.Web.UI.Design 名前空間