TextSpan 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| TextSpan(Int32, Int32, Int32, Int32, String, IVsTextView) | |
| TextSpan(Int32, Int32, Int32, Int32, Int32, String, IVsTextView) | |
| TextSpan(Int32, Int32, Int32, Int32, Int32, Int32, String, IVsTextView) |
TextSpan(Int32, Int32, Int32, Int32, String, IVsTextView)
public:
TextSpan(int anchorLine, int anchorCol, int endLine, int endCol, System::String ^ text, Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ vsTextView);
public TextSpan (int anchorLine, int anchorCol, int endLine, int endCol, string text, Microsoft.VisualStudio.TextManager.Interop.IVsTextView vsTextView);
Public Sub New (anchorLine As Integer, anchorCol As Integer, endLine As Integer, endCol As Integer, text As String, vsTextView As IVsTextView)
參數
- anchorLine
- Int32
- anchorCol
- Int32
- endLine
- Int32
- endCol
- Int32
- text
- String
- vsTextView
- IVsTextView
適用於
TextSpan(Int32, Int32, Int32, Int32, Int32, String, IVsTextView)
public:
TextSpan(int anchorLine, int anchorCol, int endLine, int endCol, int offset, System::String ^ text, Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ vsTextView);
public TextSpan (int anchorLine, int anchorCol, int endLine, int endCol, int offset, string text, Microsoft.VisualStudio.TextManager.Interop.IVsTextView vsTextView);
Public Sub New (anchorLine As Integer, anchorCol As Integer, endLine As Integer, endCol As Integer, offset As Integer, text As String, vsTextView As IVsTextView)
參數
- anchorLine
- Int32
- anchorCol
- Int32
- endLine
- Int32
- endCol
- Int32
- offset
- Int32
- text
- String
- vsTextView
- IVsTextView
適用於
TextSpan(Int32, Int32, Int32, Int32, Int32, Int32, String, IVsTextView)
public:
TextSpan(int anchorLine, int anchorCol, int endLine, int endCol, int offset, int lineWithinTextSpan, System::String ^ text, Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ vsTextView);
public TextSpan (int anchorLine, int anchorCol, int endLine, int endCol, int offset, int lineWithinTextSpan, string text, Microsoft.VisualStudio.TextManager.Interop.IVsTextView vsTextView);
Public Sub New (anchorLine As Integer, anchorCol As Integer, endLine As Integer, endCol As Integer, offset As Integer, lineWithinTextSpan As Integer, text As String, vsTextView As IVsTextView)
參數
- anchorLine
- Int32
- anchorCol
- Int32
- endLine
- Int32
- endCol
- Int32
- offset
- Int32
- lineWithinTextSpan
- Int32
- text
- String
- vsTextView
- IVsTextView