Partager via


Methods.TypePostfix Property

Gets the string to place after the return type of a method.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property TypePostfix As String
public virtual string TypePostfix { get; }
public:
virtual property String^ TypePostfix {
    String^ get ();
}
abstract TypePostfix : string with get 
override TypePostfix : string with get
function get TypePostfix () : String

Property Value

Type: String
The string to use after a method's type.

Remarks

The value returned from this property is used to format the method signatures that appear in the IntelliSense method tip operation.

This property is used if the language requires some fixed text to appear after the method's return type.

Return nulla null reference (Nothing in Visual Basic) if you do not need to post-fix the type with any fixed text.

The base property returns nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

Methods Class

Microsoft.VisualStudio.Package Namespace