CookieTable<TCookie, TCookieTraits, TValue>.ForEach Method (CookieTableCallback<TCookie, TValue>, Boolean)

Execute the specified callback for each of the elements in the cookie table, allows to call back even for elements that are removed during the iteration

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

‘선언
Public Sub ForEach ( _
    callback As CookieTableCallback(Of TCookie, TValue), _
    skipRemoved As Boolean _
)
‘사용 방법
Dim instance As CookieTable
Dim callback As CookieTableCallback(Of TCookie, TValue)
Dim skipRemoved As Boolean

instance.ForEach(callback, skipRemoved)
public void ForEach(
    CookieTableCallback<TCookie, TValue> callback,
    bool skipRemoved
)
public:
void ForEach(
    CookieTableCallback<TCookie, TValue>^ callback, 
    bool skipRemoved
)
member ForEach : 
        callback:CookieTableCallback<'TCookie, 'TValue> * 
        skipRemoved:bool -> unit 
public function ForEach(
    callback : CookieTableCallback<TCookie, TValue>, 
    skipRemoved : boolean
)

Parameters

  • skipRemoved
    Type: System.Boolean
    Whether the callback should be called or not for elemens removed during the iteration

.NET Framework Security

See Also

Reference

CookieTable<TCookie, TCookieTraits, TValue> Class

CookieTable<TCookie, TCookieTraits, TValue> Members

ForEach Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace