VBOptionSpan.Create Method

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

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

Syntax

'Declaration
Public Shared Function Create ( _
    context As ParserContext, _
    optionName As String, _
    value As Boolean _
) As VBOptionSpan
'Usage
Dim context As ParserContext
Dim optionName As String
Dim value As Boolean
Dim returnValue As VBOptionSpan

returnValue = VBOptionSpan.Create(context, _
    optionName, value)
public static VBOptionSpan Create(
    ParserContext context,
    string optionName,
    bool value
)
public:
static VBOptionSpan^ Create(
    ParserContext^ context, 
    String^ optionName, 
    bool value
)
public static function Create(
    context : ParserContext, 
    optionName : String, 
    value : boolean
) : VBOptionSpan

Parameters

Return Value

Type: System.Web.Razor.Parser.SyntaxTree.VBOptionSpan

Permissions

  • Medium trust for the immediate caller. This member can be used by partially trusted code.

See Also

Reference

VBOptionSpan Class

System.Web.Razor.Parser.SyntaxTree Namespace