ParserContext.IsWithin(BlockType) ParserContext.IsWithin(BlockType) ParserContext.IsWithin(BlockType) Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified block type exists in the block builder list.

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

The block type to check.

Returns

true if the specified block type exists in the block builder list; otherwise, false.

Applies to