Partager via


HtmlTagContext Members

The HtmlTagContext class is passed to the HtmlTagCallback delegate and is used to get information about the tag that caused the callback and to filter the tag as it is written to the output.

The following tables list the members exposed by the HtmlTagContext type.

Public Properties

  Name Description
Aa581375.pubproperty(en-us,EXCHG.80).gif Attributes The Attributes property contains a collection of the attributes contained in the tag that caused the callback to the HtmlTagCallback delegate.
Aa581375.pubproperty(en-us,EXCHG.80).gif IsEmptyElementTag The IsEmptyElementTag property gets a Boolean value indicating whether the tag that caused the callback to the HtmlTagCallback delegate is an empty element tag.
Aa581375.pubproperty(en-us,EXCHG.80).gif IsEndTag The IsEndTag property gets a Boolean value indicating whether the tag that caused the callback to the HtmlTagCallback delegate is an end tag.
Aa581375.pubproperty(en-us,EXCHG.80).gif TagId The TagId property gets a HtmlTagId enumeration value that identifies the tag that caused the callback to the HtmlTagCallback delegate.
Aa581375.pubproperty(en-us,EXCHG.80).gif TagName The TagName property gets a string containing the name of the tag that caused the callback to the HtmlTagCallback delegate.

Top

Public Methods

(see also Protected Methods )

  Name Description
Aa581375.pubmethod(en-us,EXCHG.80).gif DeleteInnerContent The DeleteInnerContent method suppresses the output of the content between the tag that caused the callback to the HtmlTagCallback delegate and its end tag.
Aa581375.pubmethod(en-us,EXCHG.80).gif DeleteTag Overloaded. The DeleteTag method overloads suppress the output of the tag that caused the callback to the HtmlTagCallback delegate.
Aa581375.pubmethod(en-us,EXCHG.80).gif Equals  Overloaded. (inherited from Object )
Aa581375.pubmethod(en-us,EXCHG.80).gif GetHashCode  (inherited from Object )
Aa581375.pubmethod(en-us,EXCHG.80).gif GetType  (inherited from Object )
Aa581375.pubmethod(en-us,EXCHG.80).gif InvokeCallbackForEndTag The InvokeCallbackForEndTag method causes the callback to be called for the current tag's corresponding end tag.
Aa581375.pubmethod(en-us,EXCHG.80).gifAa581375.static(en-us,EXCHG.80).gif ReferenceEquals  (inherited from Object )
Aa581375.pubmethod(en-us,EXCHG.80).gif ToString  (inherited from Object )
Aa581375.pubmethod(en-us,EXCHG.80).gif WriteTag Overloaded. The WriteTag method overloads write the tag that caused the callback to the output Stream or TextWriter.

Top

Protected Methods

  Name Description
Aa581375.protmethod(en-us,EXCHG.80).gif Finalize  (inherited from Object )
Aa581375.protmethod(en-us,EXCHG.80).gif MemberwiseClone  (inherited from Object )

Top