ValidationResult.SourceType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得從 Source 屬性擷取的來源類型。
public string SourceType { get; }
member this.SourceType : string
Public ReadOnly Property SourceType As String
屬性值
來源類型。
備註
SourcePath 和 SourceType 可以從 Source 屬性擷取,但在關閉) 之後從 Annotation (s 讀取 ValidationResult 時,Source 可能無法使用,因此只有 SourcePath 和 SourceType 會保留。