IVsStringMap.EnumKeys Method
Returns an enumeration of the key-value pairs.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function EnumKeys ( _
<OutAttribute> ByRef ppEnum As IEnumString _
) As Integer
int EnumKeys(
out IEnumString ppEnum
)
int EnumKeys(
[OutAttribute] IEnumString^% ppEnum
)
abstract EnumKeys :
ppEnum:IEnumString byref -> int
function EnumKeys(
ppEnum : IEnumString
) : int
Parameters
- ppEnum
Type: Microsoft.VisualStudio.OLE.Interop.IEnumString%
[out] The IEnumString interface.
Return Value
Type: System.Int32
Returns S_OK if the enumeration was returned.
Remarks
For users of native code, note that IEnumString::Next returns LPOLESTRs, which must be freed by the caller usingCoTaskMemFree.
.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.