ValidationResult.SourceType 属性

定义

获取从 Source 属性提取的源类型。

public string SourceType { get; }
member this.SourceType : string
Public ReadOnly Property SourceType As String

属性值

源类型。

注解

SourcePath 和 SourceType 可以从 Source 属性中提取,但在关闭) 后从注释 (读取 ValidationResult 时,源可能不可用,因此仅保留 SourcePath 和 SourceType。

适用于