Compartir a través de


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

Return Value

Type: 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

See Also

Reference

IVsStringMap Interface

Microsoft.VisualStudio.Shell.Interop Namespace