Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the object that has the specified reference type.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Function GetValue(Of T As Class) As T
T GetValue<T>()
where T : class
Type Parameters
- T
The type of the object to get. This is the key that is associated with the object. The type must be a reference type.
Return Value
Type: T
The object associated with the specified key, if the key is found; otherwise, nulla null reference (Nothing in Visual Basic).
.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.