MailBee.NET Objects 4.0

Element.TagDefinition Property

Gets or sets the tag definition of the current HTML element.

public string TagDefinition {get; set;}

Property Value

A string definition of the current HTML tag or a null reference (Nothing in Visual Basic) if this Element object represents a plain-text block rather than a tag.

Remarks

The tag definition is a string inside angle brackets of the opening tag. For instance, if the entire tag is <script src="file.js"></script>, the tag definition is script src="file.js".

Exceptions

Exception Type Condition
MailBeeInvalidArgumentException value is an empty string.

See Also

Element Class | MailBee.Html Namespace