Поделиться через


HtmlDocument - конструктор

Обновлен: Ноябрь 2007

Инициализирует новый экземпляр класса HtmlDocument. Этот конструктор принимает строку и использует ее в качестве документа.

Пространство имен:  Microsoft.VisualStudio.TestTools.WebTesting
Сборка:  Microsoft.VisualStudio.QualityTools.WebTestFramework (в Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Синтаксис

'Декларация
Public Sub New ( _
    documentLocation As Uri, _
    documentContent As String _
)
'Применение
Dim documentLocation As Uri
Dim documentContent As String

Dim instance As New HtmlDocument(documentLocation, _
    documentContent)
public HtmlDocument(
    Uri documentLocation,
    string documentContent
)
public:
HtmlDocument(
    Uri^ documentLocation, 
    String^ documentContent
)
public function HtmlDocument(
    documentLocation : Uri, 
    documentContent : String
)

Параметры

  • documentLocation
    Тип: System.Uri
    URI, представляющий местоположение документа.
  • documentContent
    Тип: System.String
    Содержимое документа.

Разрешения

См. также

Ссылки

HtmlDocument Класс

HtmlDocument - члены

Microsoft.VisualStudio.TestTools.WebTesting - пространство имен