Control.BuildProfileTree(String, Boolean) Метод
Определение
protected:
void BuildProfileTree(System::String ^ parentId, bool calcViewState);
protected void BuildProfileTree (string parentId, bool calcViewState);
member this.BuildProfileTree : string * bool -> unit
Protected Sub BuildProfileTree (parentId As String, calcViewState As Boolean)
Параметры
- parentId
- String
Идентификатор родительского элемента управления.The identifier of the control's parent.
- calcViewState
- Boolean
Логическое значение, указывающее, рассчитан ли размер состояния представления.A Boolean that indicates whether the view-state size is calculated.
Комментарии
Это свойство собирает сведения, необходимые для иерархии пользовательского интерфейса страницы, и передает ее свойству < Trace > страницы.This property gathers the information necessary about a page's UI hierarchy and passes it to the page's <trace> property. При включении трассировки для страницы или приложения эти сведения отображаются в Control Tree
разделе выходных данных трассировки.When you enable tracing, either for a page or for your application, this information is displayed in the Control Tree
section of the trace output. Выходные данные трассировки для страницы добавляются в конец страницы; Хотя выходные данные трассировки для приложения можно просмотреть в средстве просмотра трассировки (файл Trace. axd), который хранится в корневом каталоге приложения.Trace output for a page is appended to the end of the page; while trace output for an application can be viewed from the trace viewer (trace.axd file) which is stored in the application's root directory. Дополнительные сведения о трассировке см. в разделе Общие сведения о трассировке ASP.NET.For more information about tracing, see ASP.NET Tracing Overview.