Partager via


UIDataSource.AddDispatchProperty Method

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

'Déclaration
Public Sub AddDispatchProperty ( _
    name As String, _
    value As Object _
)
'Utilisation
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

.NET Framework Security

See Also

Reference

UIDataSource Class

UIDataSource Members

Microsoft.Internal.VisualStudio.PlatformUI Namespace