UIDataSource.AddIndirectProperty<T> Method
Microsoft internal use only.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Sub AddIndirectProperty(Of T) ( _
name As String, _
type As String, _
getterThunk As GetterThunk(Of T) _
)
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
name
Type: System.StringName of the new property
type
Type: System.StringType of the new property
getterThunk
Type: Microsoft.Internal.VisualStudio.PlatformUI.GetterThunk<T>Method to actually return the property when asked
.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.