SmartTagName Property [Office 2003 SDK Documentation]

The unique identifiers of smart tag types that the DLL supports.

Applies To

ISmartTagAction

Syntax

[Visual Basic 6.0]

Private Property Get ISmartTagAction_SmartTagName(ByVal SmartTagID As Long) As String

[Visual C++ 6.0]

STDMETHODIMP CSTAction::get_SmartTagName(INT SmartTagID, BSTR * Name)

[Visual Basic .NET]

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

[Visual C#]

public string get_SmartTagName(int SmartTagID)

Parameters

SmartTagID  An enumerated integer that corresponds to SmartTagCount. Its value ranges from 1 to the value of SmartTagCount. Upon initialization, if a recognizer returns 3 from SmartTagCount, it will subsequently receive 3 calls to SmartTagName, with SmartTagID ranging from 1 to 3.

Name  A smart tag type's name is a string and is always of the form namespaceURI#tagname.

Remarks

The strings that are returned by this method must conform to the namespaceURI#tagname construct which defines a smart tag.