VerbCount Property [Office 2003 SDK Documentation]

The total number of verbs that are supported by a DLL for a given smart tag type.

Applies To

ISmartTagAction

Syntax

[Visual Basic 6.0]

Private Property Get ISmartTagAction_VerbCount(ByVal SmartTagName As String) As Long

[Visual C++ 6.0]

STDMETHODIMP CSTAction::get_VerbCount(BSTR SmartTagName, INT * Count)

[Visual Basic .NET]

Private ReadOnly Property VerbCount(ByVal SmartTagName As String) As Integer Implements SmartTag.ISmartTagAction.VerbCount

[Visual C#]

public int get_VerbCount(string SmartTagName)

Parameters

SmartTagName  A smart tag type string, which is in the form of namespaceURI#tagname.

Count  The number of verbs supported by a particular smart tag type.

Remarks

When a smart tag action is requested to supply a verb caption for its verbs, and is given an application name and LocaleID, it can opt to return Null or "", in which case the verb is not shown. Through this mechanism, an action DLL can supply application- or locale-specific actions. VerbCount should return the total number of verbs that the action handler supplies for a smart tag type.