Partager via


UIDataSource.AddIndirectProperty<T> Method

Add an IndirectProperty to the datasource.

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

Syntax

'Déclaration
Public Sub AddIndirectProperty(Of T) ( _
    name As String, _
    type As String, _
    getterThunk As GetterThunk(Of T) _
)
'Utilisation
Dim instance As UIDataSource
Dim name As String
Dim type As String
Dim getterThunk As GetterThunk(Of T)

instance.AddIndirectProperty(name, type, _
    getterThunk)
public void AddIndirectProperty<T>(
    string name,
    string type,
    GetterThunk<T> getterThunk
)
public:
generic<typename T>
void AddIndirectProperty(
    String^ name, 
    String^ type, 
    GetterThunk<T>^ getterThunk
)
member AddIndirectProperty : 
        name:string * 
        type:string * 
        getterThunk:GetterThunk<'T> -> unit 
JScript does not support generic types or methods.

Type Parameters

  • T
    Type returned from GetterThunk

Parameters

.NET Framework Security

See Also

Reference

UIDataSource Class

UIDataSource Members

Microsoft.Internal.VisualStudio.PlatformUI Namespace