Partager via


ParameterTextType Enumeration

Specifies parameter information for the method tip window.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Public Enumeration ParameterTextType
public enum ParameterTextType
public enum class ParameterTextType
type ParameterTextType
public enum ParameterTextType

Members

Member name Description
PTT_DECLARATION Full declaration as it appears in signature (that is, "Long MyVariable" or "MyVariable As Long").
PTT_DESCRIPTION Description (gets its own line, and is prefixed with NAME: (bolded)).
PTT_NAME Parameter name only (that is, "MyVariable").

Remarks

The value of GetParameterText can return nulla null reference (Nothing in Visual Basic) for any value except DECLARATION, or NAME if DESCRIPTION is not nulla null reference (Nothing in Visual Basic). If a parameter description is returned to the view when it calls GetParameterText and specifies a value of PTT_DESCRIPTION, then the view will subsequently call GetParameterText and specify a value of PTT_NAME. The view then displays the name and description information in the following format:

  • Name: Description

COM Signature

From textmgr.idl:

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace