SymbolExtensions.GetContent Method (SpanBuilder)
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 ( _
span As SpanBuilder _
) As LocationTagged(Of String)
'Usage
Dim span As SpanBuilder
Dim returnValue As LocationTagged(Of String)
returnValue = span.GetContent()
public static LocationTagged<string> GetContent(
this SpanBuilder span
)
[ExtensionAttribute]
public:
static LocationTagged<String^>^ GetContent(
SpanBuilder^ span
)
static member GetContent :
span:SpanBuilder -> LocationTagged<string>
public static function GetContent(
span : SpanBuilder
) : LocationTagged<String>
Parameters
- span
Type: System.Web.Razor.Parser.SyntaxTree.SpanBuilder
The intersection with the given span.
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).