共用方式為


AuthoringSink.Column Property

Gets the column the parsing started on.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Declaration
Public ReadOnly Property Column As Integer
public int Column { get; }
public:
property int Column {
    int get ();
}
member Column : int with get
function get Column () : int

Property Value

Type: Int32
Returns the offset into the line as passed to the AuthoringSink constructor.

Remarks

This property provides an alternative way for the parser to access the starting offset (the other way is through the ParseRequest structure itself).

.NET Framework Security

See Also

Reference

AuthoringSink Class

Microsoft.VisualStudio.Package Namespace