Share via


SymbolExtensions.GetContent Method (ISymbol)

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

Gets the content of this SymbolExtensions class.

Namespace:  System.Web.Razor.Tokenizer.Symbols
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetContent ( _
    symbol As ISymbol _
) As LocationTagged(Of String)
'Usage
Dim symbol As ISymbol 
Dim returnValue As LocationTagged(Of String)

returnValue = symbol.GetContent()
public static LocationTagged<string> GetContent(
    this ISymbol symbol
)
[ExtensionAttribute]
public:
static LocationTagged<String^>^ GetContent(
    ISymbol^ symbol
)
static member GetContent : 
        symbol:ISymbol -> LocationTagged<string> 
public static function GetContent(
    symbol : ISymbol
) : LocationTagged<String>

Parameters

Return Value

Type: System.Web.Razor.Text.LocationTagged<String>
The content of this SymbolExtensions class.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ISymbol. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.111) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.111).

See Also

Reference

SymbolExtensions Class

GetContent Overload

System.Web.Razor.Tokenizer.Symbols Namespace