共用方式為


ISourceInformation 介面

提供資料庫模型項目之來源相關資訊的介面。

命名空間:  Microsoft.Data.Schema.SchemaModel
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Public Interface ISourceInformation
public interface ISourceInformation
public interface class ISourceInformation
type ISourceInformation =  interface end
public interface ISourceInformation

ISourceInformation 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 IsPrimary 取得值,這個值表示來源是否為項目的主要來源。
公用屬性 Length 取得項目在原始程式檔中的長度 (以字元為單位)。
公用屬性 Offset 取得項目在原始程式檔中的開始位置。
公用屬性 Script 取得產生原始程式檔的指令碼。
公用屬性 ScriptDom 取得指令碼的指令碼文件模型。
公用屬性 SourceName 取得表示項目來自何處的檔名或其他唯一名稱。
公用屬性 StartColumn 取得項目在來源中的起始欄號。
公用屬性 StartLine 取得項目在來源中的起始行號。

回頁首

請參閱

參考

Microsoft.Data.Schema.SchemaModel 命名空間

IModelElement