Udostępnij za pośrednictwem


ParserContext.IsWithin(BlockType) Metoda

Definicja

Pobiera wartość logiczną wskazującą, czy którykolwiek z elementów nadrzędnych bieżącego bloku ma określony typ

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

Parametry

type
BlockType

Zwraca

Dotyczy