Partager via


IAnnotationDictionary.GetValue<T> Method (Object)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the object that has the specified reference type and is associated with the specified key.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Function GetValue(Of T As Class) ( _
    key As Object _
) As T
T GetValue<T>(
    Object key
)
where T : class

Type Parameters

  • T
    The type of the object to get. The type must be a reference type.

Parameters

Return Value

Type: T
The object associated with the specified key, if the key is found and the object has the type T; otherwise, nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

IAnnotationDictionary Interface

GetValue Overload

Microsoft.VisualStudio.SharePoint Namespace