vtiGetMetaTag

C++: BSTR vtiGetMetaTag(BSTR pszPageUrl, BSTR pszWebUrl, BSTR pszKey, long lIndex, long flags);
VB: vtiGetMetaTag(PageUrl as String, WebUrl as String, Key as String, Index as Long, Flags as Long) as String

Description

Provides a way to retrieve the value of a meta tag with the given name in a document being edited by the FrontPage Editor.

Return Value

The value of the given meta tag.

Parameters

PageUrl is the either the full URL of the page, or the web-relative URL of the page.

WebUrl is either NULL (if you specify a full PageUrl) or the URL of the FrontPage web which contains PageUrl.

Key is the name that will be used for the tag.

Index is a zero-based number specifying which tag you want to get the value for in case there are several with the same name (as given by the Key parameter).

Flags should be set to 0 for a normal meta tag or 1 for an “http-equiv” meta tag.