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
声明
Public Function GetValue(Of T) ( _
    name As String _
) As T
用法
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
- name
Type: System.String
Property name 
Return Value
Type: T
.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.