共用方式為


IVsLanguageDebugInfo.GetLocationOfName 方法

已取代。 不要使用。

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

語法

'宣告
Function GetLocationOfName ( _
    pszName As String, _
    <OutAttribute> ByRef pbstrMkDoc As String, _
    <OutAttribute> pspanLocation As TextSpan() _
) As Integer
int GetLocationOfName(
    string pszName,
    out string pbstrMkDoc,
    TextSpan[] pspanLocation
)
int GetLocationOfName(
    [InAttribute] String^ pszName, 
    [OutAttribute] String^% pbstrMkDoc, 
    [OutAttribute] array<TextSpan>^ pspanLocation
)
abstract GetLocationOfName : 
        pszName:string * 
        pbstrMkDoc:string byref * 
        pspanLocation:TextSpan[] byref -> int
function GetLocationOfName(
    pszName : String, 
    pbstrMkDoc : String, 
    pspanLocation : TextSpan[]
) : int

參數

  • pszName
    類型:String

    不要使用。

  • pbstrMkDoc
    類型:String%

    不要使用。

傳回值

類型:Int32

.NET Framework 安全性

請參閱

參考

IVsLanguageDebugInfo 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間