Dynamicweb 8 Documentation
Meta Property (Group)
Example 

Gets or sets meta data.
Syntax
'Declaration
 
Public Property Meta As Group.MetaData
public Group.MetaData Meta {get; set;}
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 Group group;
 
    public void GetMetaData()
    {
        group = new Group();
        group.Meta = new Product.MetaData();
        group.Meta.Title = MetaTitle.Text.Trim();
        group.Meta.Keywords = MetaKeywords.Text.Trim();
        group.Meta.Description = MetaDescr.Text.Trim();
        group.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

Group Class
Group Members

Send Feedback