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.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.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.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣言
Public Overridable ReadOnly Property TypePrefixed As Boolean
public virtual bool TypePrefixed { get; }
Property Value
Type: System.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.