vtiDeleteMetaTag

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

Description

Provides a way to remove one or all meta tags with the given key from the HEAD section of a document being edited by the FrontPage Editor.

Return Value

1 - success

0 - failure

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 delete in case there are several with the same name (as given by the Key parameter).

Flags should be set to 0 to remove a normal meta tag or 1 to remove an “http-equiv” meta tag. You can also add 2 to this value to indicate that all meta tags from Index to the last should be deleted.