CodeSpan.Create Method (ParserContext, String)
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, _
autoCompleteString As String _
) As CodeSpan
'Usage
Dim context As ParserContext
Dim autoCompleteString As String
Dim returnValue As CodeSpan
returnValue = CodeSpan.Create(context, _
autoCompleteString)
public static CodeSpan Create(
ParserContext context,
string autoCompleteString
)
public:
static CodeSpan^ Create(
ParserContext^ context,
String^ autoCompleteString
)
public static function Create(
context : ParserContext,
autoCompleteString : String
) : CodeSpan
Parameters
- context
Type: System.Web.Razor.Parser.ParserContext
- autoCompleteString
Type: System.String
Return Value
Type: System.Web.Razor.Parser.SyntaxTree.CodeSpan
Permissions
- Medium trust for the immediate caller. This member can be used by partially trusted code.