Share via


LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType>.GetSample Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the actual symbol for the given language symbol type.

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

Syntax

'Declaration
Public MustOverride Function GetSample ( _
    type As TSymbolType _
) As String
'Usage
Dim instance As LanguageCharacteristics 
Dim type As TSymbolType
Dim returnValue As String 

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

Parameters

  • type
    Type: TSymbolType
    The language symbol type to get.

Return Value

Type: System.String
The actual symbol for the given language symbol type.

See Also

Reference

LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType> Class

System.Web.Razor.Parser Namespace