共用方式為


IVsTextLayer2 介面

加入方法,以檢查行尾標記來IVsTextLayer介面。

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop.8.0 (在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)

語法

'宣告
<GuidAttribute("1FE22AB1-40CA-45A0-BD56-7E65FA3B774C")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextLayer2
[GuidAttribute("1FE22AB1-40CA-45A0-BD56-7E65FA3B774C")]
[InterfaceTypeAttribute()]
public interface IVsTextLayer2
[GuidAttribute(L"1FE22AB1-40CA-45A0-BD56-7E65FA3B774C")]
[InterfaceTypeAttribute()]
public interface class IVsTextLayer2
[<GuidAttribute("1FE22AB1-40CA-45A0-BD56-7E65FA3B774C")>]
[<InterfaceTypeAttribute()>]
type IVsTextLayer2 =  interface end
public interface IVsTextLayer2

IVsTextLayer2 類型會公開下列成員。

方法

  名稱 描述
公用方法 GetEolLengthEx 傳回以文字行的行尾標記的字元為單位的長度。
公用方法 GetEolTextEx 傳回字串,其中包含的文字行的行尾 (EOL) 標記。
公用方法 GetEolTypeEx 傳回EOLTYPE的文字行的行尾標記。

回頁首

備註

加入方法以IVsTextLayer來檢查文字行的行尾標記。

請參閱

參考

Microsoft.VisualStudio.TextManager.Interop 命名空間