Page.CreateHtmlTextWriterFromType(TextWriter, Type) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Cria um objeto especificado HtmlTextWriter para renderizar o conteúdo da página.
public:
static System::Web::UI::HtmlTextWriter ^ CreateHtmlTextWriterFromType(System::IO::TextWriter ^ tw, Type ^ writerType);
public static System.Web.UI.HtmlTextWriter CreateHtmlTextWriterFromType(System.IO.TextWriter tw, Type writerType);
static member CreateHtmlTextWriterFromType : System.IO.TextWriter * Type -> System.Web.UI.HtmlTextWriter
Public Shared Function CreateHtmlTextWriterFromType (tw As TextWriter, writerType As Type) As HtmlTextWriter
Parâmetros
- tw
- TextWriter
O TextWriter usado para criar o HtmlTextWriter.
- writerType
- Type
O tipo de escritor de texto a criar.
Devoluções
E HtmlTextWriter que renderize o conteúdo da página.
Exceções
O writerType parâmetro é definido para um tipo inválido.
Observações
Este método é usado internamente em adaptadores de página.