Share via


SymbolExtensions.GetContent Method (SpanBuilder, Func<IEnumerable<ISymbol>, IEnumerable<ISymbol>>)

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 ( _
    span As SpanBuilder, _
    filter As Func(Of IEnumerable(Of ISymbol), IEnumerable(Of ISymbol)) _
) As LocationTagged(Of String)
'Usage
Dim span As SpanBuilder 
Dim filter As Func(Of IEnumerable(Of ISymbol), IEnumerable(Of ISymbol))
Dim returnValue As LocationTagged(Of String)

returnValue = span.GetContent(filter)
public static LocationTagged<string> GetContent(
    this SpanBuilder span,
    Func<IEnumerable<ISymbol>, IEnumerable<ISymbol>> filter
)
[ExtensionAttribute]
public:
static LocationTagged<String^>^ GetContent(
    SpanBuilder^ span, 
    Func<IEnumerable<ISymbol^>^, IEnumerable<ISymbol^>^>^ filter
)
static member GetContent : 
        span:SpanBuilder * 
        filter:Func<IEnumerable<ISymbol>, IEnumerable<ISymbol>> -> LocationTagged<string> 
public static function GetContent(
    span : SpanBuilder, 
    filter : Func<IEnumerable<ISymbol>, IEnumerable<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 SpanBuilder. 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