Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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)

public enum ParameterTextType
public enum ParameterTextType
public enum ParameterTextType

 Member nameDescription
PTT_DECLARATIONFull declaration as it appears in signature (that is, "Long MyVariable" or "MyVariable As Long"). 
PTT_DESCRIPTIONDescription (gets its own line, and is prefixed with NAME: (bolded)). 
PTT_NAMEParameter name only (that is, "MyVariable"). 

The value of GetParameterText can return a null reference (Nothing in Visual Basic) for any value except DECLARATION, or NAME if DESCRIPTION is not a 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:

Community Additions

ADD
Show:
© 2015 Microsoft