Partager via


UIDataSource.GetValue<T> Method (String)

Type-friendly wrapper around the GetValue that returns IVsUIObject

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

Syntax

'Déclaration
Public Function GetValue(Of T) ( _
    name As String _
) As T
'Utilisation
Dim instance As UIDataSource
Dim name As String
Dim returnValue As T

returnValue = instance.GetValue(name)
public T GetValue<T>(
    string name
)
public:
generic<typename T>
T GetValue(
    String^ name
)
member GetValue : 
        name:string -> 'T 
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

Return Value

Type: T

.NET Framework Security

See Also

Reference

UIDataSource Class

UIDataSource Members

GetValue Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace