Dela via


CookieTable<TCookie, TCookieTraits, TValue>.TryGetValue Method

Microsoft internal use only.

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

Syntax

'Declaration
Public Function TryGetValue ( _
    cookie As TCookie, _
    <OutAttribute> ByRef value As TValue _
) As Boolean
public bool TryGetValue(
    TCookie cookie,
    out TValue value
)
public:
bool TryGetValue(
    TCookie cookie, 
    [OutAttribute] TValue% value
)
member TryGetValue : 
        cookie:'TCookie * 
        value:'TValue byref -> bool 
public function TryGetValue(
    cookie : TCookie, 
    value : TValue
) : boolean

Parameters

  • cookie
    Type: TCookie
    cookie to search
  • value
    Type: TValue%
    found value

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

CookieTable<TCookie, TCookieTraits, TValue> Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace