Dynamicweb 8 Documentation
Title Property (Product.MetaData)
Example 

Gets or sets the title.
Syntax
'Declaration
 
Public Property Title As String
public string Title {get; set;}

Property Value

The title.
Example
Class MetaInformation
{
    protected System.Web.UI.WebControls.TextBox MetaTitle;
    protected System.Web.UI.WebControls.TextBox MetaKeywords;
    protected System.Web.UI.WebControls.TextBox MetaDescr;
    protected System.Web.UI.WebControls.TextBox MetaUrl;
    private Product product;
 
    public void GetMetaData()
    {
        product = new Product();
        product.Meta = new Product.MetaData();
        product.Meta.Title = MetaTitle.Text.Trim();
        product.Meta.Keywords = MetaKeywords.Text.Trim();
        product.Meta.Description = MetaDescr.Text.Trim();
        product.Meta.Url = MetaUrl.Text.Trim();
    }
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Product.MetaData Class
Product.MetaData Members

Send Feedback