Share via


Span.CodeGenerator Property

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the code generator for the span.

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

Syntax

'Declaration
Public Property CodeGenerator As ISpanCodeGenerator 
    Get 
    Protected Set
'Usage
Dim instance As Span 
Dim value As ISpanCodeGenerator 

value = instance.CodeGenerator

instance.CodeGenerator = value
public ISpanCodeGenerator CodeGenerator { get; protected set; }
public:
property ISpanCodeGenerator^ CodeGenerator {
    ISpanCodeGenerator^ get ();
    protected: void set (ISpanCodeGenerator^ value);
}
member CodeGenerator : ISpanCodeGenerator with get, set
function get CodeGenerator () : ISpanCodeGenerator 
protected function set CodeGenerator (value : ISpanCodeGenerator)

Property Value

Type: System.Web.Razor.Generator.ISpanCodeGenerator
The code generator for the span.

See Also

Reference

Span Class

System.Web.Razor.Parser.SyntaxTree Namespace