RazorError.Location 属性

定义

获取 (或设置) 错误文本的起始位置。

public:
 property Microsoft::AspNetCore::Razor::SourceLocation Location { Microsoft::AspNetCore::Razor::SourceLocation get(); void set(Microsoft::AspNetCore::Razor::SourceLocation value); };
public Microsoft.AspNetCore.Razor.SourceLocation Location { get; set; }
member this.Location : Microsoft.AspNetCore.Razor.SourceLocation with get, set
Public Property Location As SourceLocation

属性值

注解

Set 属性只能用于反序列化目的。

适用于