WebBrowser.ShowPropertiesDialog 메서드

정의

현재 문서의 Internet Explorer 속성 대화 상자를 엽니다.

public:
 void ShowPropertiesDialog();
public void ShowPropertiesDialog ();
member this.ShowPropertiesDialog : unit -> unit
Public Sub ShowPropertiesDialog ()

예제

다음 코드 예제에서는 메서드를 사용 하 여 ShowPropertiesDialog Internet Explorer 파일 메뉴에 있는 것과 비슷한 속성 메뉴 옵션을 구현 하는 방법을 보여 줍니다. 이 예제에서는 양식에 메뉴 항목이 호출되고 컨트롤이 호출 MenuItemFileProperties 된 메뉴가 WebBrowser 포함되어 있어야 합니다. webBrowser1.

// Displays the Properties dialog box.
void MenuItemFileProperties_Click( System::Object^ /*sender*/, System::EventArgs^ /*e*/ )
{
   this->WebBrowser1->ShowPropertiesDialog();
}
// Displays the Properties dialog box.
private void propertiesToolStripMenuItem_Click(
    object sender, EventArgs e)
{
    webBrowser1.ShowPropertiesDialog();
}
' Displays the Properties dialog box.
Private Sub propertiesToolStripMenuItem_Click( _
    ByVal sender As Object, ByVal e As EventArgs) _
    Handles propertiesToolStripMenuItem.Click

    webBrowser1.ShowPropertiesDialog()

End Sub

설명

이 메서드를 사용하여 Internet Explorer 파일 메뉴와 유사한 속성 메뉴 옵션을 구현할 수 있습니다. 이 메서드는 형식, URL, 크기 및 만들기 및 수정 날짜와 같은 현재 문서에 대한 정보를 포함하는 속성 대화 상자를 표시합니다.

적용 대상