XmlSchemaObject.LinePosition 属性

定义

获取或设置 schema 元素引用的文件中的行位置。Gets or sets the line position in the file to which the schema element refers.

public:
 property int LinePosition { int get(); void set(int value); };
public int LinePosition { get; set; }
member this.LinePosition : int with get, set
Public Property LinePosition As Integer

属性值

行位置。The line position.

注解

用于存储从文件读取架构时的行位置。This is used to store the line position when a schema is read from a file. 此操作通过 XmlSchemaException 来报告错误处理。This is reported through XmlSchemaException for error handling.

适用于