Share via


CSharpLanguageCharacteristics.GetSample Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets a sample symbol in the code.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Overrides Function GetSample ( _
    type As CSharpSymbolType _
) As String
'Usage
Dim instance As CSharpLanguageCharacteristics 
Dim type As CSharpSymbolType 
Dim returnValue As String 

returnValue = instance.GetSample(type)
public override string GetSample(
    CSharpSymbolType type
)
public:
virtual String^ GetSample(
    CSharpSymbolType type
) override
abstract GetSample : 
        type:CSharpSymbolType -> string  
override GetSample : 
        type:CSharpSymbolType -> string
public override function GetSample(
    type : CSharpSymbolType
) : String

Parameters

Return Value

Type: System.String
A sample symbol in the code.

See Also

Reference

CSharpLanguageCharacteristics Class

System.Web.Razor.Parser Namespace