IVsLanguageDebugInfo.ResolveName Method
Disambiguates the given name, providing non-ambiguous names for all entities that "match" the name.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣言
Function ResolveName ( _
pszName As String, _
dwFlags As UInteger, _
<OutAttribute> ByRef ppNames As IVsEnumDebugName _
) As Integer
int ResolveName(
string pszName,
uint dwFlags,
out IVsEnumDebugName ppNames
)
int ResolveName(
[InAttribute] String^ pszName,
[InAttribute] unsigned int dwFlags,
[OutAttribute] IVsEnumDebugName^% ppNames
)
abstract ResolveName :
pszName:string *
dwFlags:uint32 *
ppNames:IVsEnumDebugName byref -> int
function ResolveName(
pszName : String,
dwFlags : uint,
ppNames : IVsEnumDebugName
) : int
Parameters
- pszName
Type: System.String
[in] String containing the name.
- dwFlags
Type: System.UInt32
[in] Flags. For more information, see RESOLVENAMEFLAGS.
- ppNames
Type: Microsoft.VisualStudio.TextManager.Interop.IVsEnumDebugName%
[out] Returns an object containing a list of names. For more information, see IVsEnumDebugName.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsLanguageDebugInfo::ResolveName(
[in] LPCOLESTR pszName,
[in] DWORD dwFlags,
[out] IVsEnumDebugName **ppNames
);
This method disambiguates the given name, providing non-ambiguous names for all entities that "match" the name.
.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.