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
'宣言
Public Overridable Function GetLocationOfName ( _
name As String, _
<OutAttribute> ByRef pbstrMkDoc As String, _
spans As TextSpan() _
) As Integer
'使用
Dim instance As LanguageService
Dim name As String
Dim pbstrMkDoc As String
Dim spans As TextSpan()
Dim returnValue As Integer
returnValue = instance.GetLocationOfName(name, _
pbstrMkDoc, spans)
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
- name
Type: System.String
OBSOLETE
- pbstrMkDoc
Type: System.String%
OBSOLETE
- spans
Type: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
OBSOLETE
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.