Methods::TypePrefix Property

 

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

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property String^ TypePrefix {
	virtual String^ get();
}

Property Value

Type: System::String^

The string to place before a method's return type.

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

In Visual Basic, the return type of a function follows the function declaration, separated by the string " as ", for example, Function MyFunc() as Integer. The " as " string is prefixed to the return type.

Return null if you do not need to prefix the type with any text.

The base property returns null.

Return to top
Show: