Span.ReplaceWith Method
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Replaces the span builder for this span with the specified span builder.
Namespace: System.Web.Razor.Parser.SyntaxTree
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Sub ReplaceWith ( _
builder As SpanBuilder _
)
'Usage
Dim instance As Span
Dim builder As SpanBuilder
instance.ReplaceWith(builder)
public void ReplaceWith(
SpanBuilder builder
)
public:
void ReplaceWith(
SpanBuilder^ builder
)
member ReplaceWith :
builder:SpanBuilder -> unit
public function ReplaceWith(
builder : SpanBuilder
)
Parameters
- builder
Type: System.Web.Razor.Parser.SyntaxTree.SpanBuilder
The new builder to use for this span.