Dynamicweb 8 Documentation
Add(String,String) Method
Example 

Adds meta data tag to the pageview in the format <meta name="{Name}" content="{Content}" />
Syntax
'Declaration
 
Public Overloads Sub Add( _ 
   ByVal name As String, _ 
   ByVal content As String _ 
) 
public void Add( 
   string name,
   string content 
)

Parameters

name
content
Example
//Get current instance
 Dynamicweb.Frontend.PageView pv = Dynamicweb.Frontend.PageView.Current();
 
 //Change properties on the PageView object
 pv.Meta.Add("Keywords", "keyword1, keyword2");
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

Meta Class
Meta Members
Overload List

Send Feedback