Поделиться через


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

Syntax

'Declaration
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
)
public:
virtual int GetLocationOfName(
    String^ name, 
    [OutAttribute] String^% pbstrMkDoc, 
    array<TextSpan>^ spans
)
abstract GetLocationOfName : 
        name:string * 
        pbstrMkDoc:string byref * 
        spans:TextSpan[] -> int 
override GetLocationOfName : 
        name:string * 
        pbstrMkDoc:string byref * 
        spans:TextSpan[] -> int 
public function GetLocationOfName(
    name : String, 
    pbstrMkDoc : String, 
    spans : TextSpan[]
) : int

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