共用方式為


LanguageService.GetLocationOfName Method

Obsolete method that always returns E_NOTIMPL.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   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)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'宣告
Public Overridable Function GetLocationOfName ( _
    name As String, _
    <OutAttribute> ByRef pbstrMkDoc As String, _
    spans As TextSpan() _
) As Integer
public virtual int GetLocationOfName(
    string name,
    out string pbstrMkDoc,
    TextSpan[] spans
)

Parameters

Return Value

Type: System.Int32
Always returns E_NOTIMPL.

Implements

IVsLanguageDebugInfo.GetLocationOfName(String, String%, array<TextSpan[])

Remarks

The base method always returns E_NOTIMPL. Do not implement this method.

.NET Framework Security

See Also

Reference

LanguageService Class

Microsoft.VisualStudio.Package Namespace