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 a named property to the data source and set it as being of type VsUIType.Dispatch.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Sub AddDispatchProperty ( _
name As String, _
value As Object _
)
'Usage
Dim instance As UIDataSource
Dim name As String
Dim value As Object
instance.AddDispatchProperty(name, value)
public void AddDispatchProperty(
string name,
Object value
)
public:
void AddDispatchProperty(
String^ name,
Object^ value
)
member AddDispatchProperty :
name:string *
value:Object -> unit
public function AddDispatchProperty(
name : String,
value : Object
)
Parameters
- name
Type: System.String
Name of the new property
- value
Type: System.Object
Initial value for the property
.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.