Partager via


Methods.TypePrefixed Property

Gets whether a method's return type comes before or after the method signature.

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 TypePrefixed As Boolean
public virtual bool TypePrefixed { get; }
public:
virtual property bool TypePrefixed {
    bool get ();
}
abstract TypePrefixed : bool with get 
override TypePrefixed : bool with get
function get TypePrefixed () : boolean

Property Value

Type: Boolean
true if the type precedes the method's signature, false if the type follows the method's signature.

Remarks

This property is used to determine whether the method's return type precedes the method or follows it.

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

The base property returns false.

.NET Framework Security

See Also

Reference

Methods Class

Microsoft.VisualStudio.Package Namespace