ISharedStatusBar.SetLineChar 方法
在状态栏的编辑器信息区域中显示行号和字符位置。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.UI
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Function SetLineChar ( _
possibleOwner As SharedStatusBarOwner, _
ByRef line As Object, _
ByRef theChar As Object _
) As Integer
int SetLineChar(
SharedStatusBarOwner possibleOwner,
ref Object line,
ref Object theChar
)
int SetLineChar(
SharedStatusBarOwner^ possibleOwner,
Object^% line,
Object^% theChar
)
abstract SetLineChar :
possibleOwner:SharedStatusBarOwner *
line:Object byref *
theChar:Object byref -> int
function SetLineChar(
possibleOwner : SharedStatusBarOwner,
line : Object,
theChar : Object
) : int
参数
- possibleOwner
类型:Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
状态栏的所有者。如果不是所有者,则不会发生任何操作。
- line
类型:System.Object%
光标所在位置的行号。
- theChar
类型:System.Object%
光标的字符位置。
返回值
类型:System.Int32
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。