Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the object that has the specified type.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Function TryGetValue(Of T) ( _
<OutAttribute> ByRef value As T _
) As Boolean
bool TryGetValue<T>(
out T value
)
Type Parameters
- T
The type of the object to get. This is the key that is associated with the object.
Parameters
- value
Type: T%
When this method returns, contains the object associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
Return Value
Type: System.Boolean
true if the dictionary contains an object of type T; otherwise, false.
.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.