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
'Declaración
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
)
Type Parameters
- T
Type returned from GetterThunk
Parameters
- name
Type: System.String
Name of the new property
- type
Type: System.String
Type 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.