Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Declaration
Public Sub AddIndirectProperty(Of T) ( _
name As String, _
type As String, _
getterThunk As GetterThunk(Of T) _
)
'Usage
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
- 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.