Compartir a través de


ParserContext.IsWithin(BlockType) Método

Definición

Obtiene un valor booleano que indica si alguno de los antecesores del bloque actual es del tipo especificado.

public:
 bool IsWithin(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::BlockType type);
public bool IsWithin(Microsoft.AspNetCore.Razor.Parser.SyntaxTree.BlockType type);
member this.IsWithin : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.BlockType -> bool
Public Function IsWithin (type As BlockType) As Boolean

Parámetros

type
BlockType

Devoluciones

Se aplica a