Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Checks whether the specified cookie is still in the table and returns the associated value
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
'Usage
Dim instance As CookieTable
Dim cookie As TCookie
Dim value As TValue
Dim returnValue As Boolean
returnValue = instance.TryGetValue(cookie, _
value)
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
- 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.
See Also
Reference
CookieTable<TCookie, TCookieTraits, TValue> Class