共用方式為


ValidationResult.SourceType 屬性

定義

取得從 Source 屬性擷取的來源類型。

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

屬性值

來源類型。

備註

SourcePath 和 SourceType 可以從 Source 屬性擷取,但在關閉) 之後從 Annotation (s 讀取 ValidationResult 時,Source 可能無法使用,因此只有 SourcePath 和 SourceType 會保留。

適用於