Partager via


Methods.TypePrefix Property

Definition

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

public:
 virtual property System::String ^ TypePrefix { System::String ^ get(); };
public:
 virtual property Platform::String ^ TypePrefix { Platform::String ^ get(); };
public virtual string TypePrefix { get; }
member this.TypePrefix : string
Public Overridable ReadOnly Property TypePrefix As String

Property Value

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

Remarks

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.

Applies to