Partager via


UIDataSource.AddProperty Method

Add a named property to the data source and initialize it with the given UIObject

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Public Sub AddProperty ( _
    name As String, _
    initialValue As IVsUIObject _
)
'Utilisation
Dim instance As UIDataSource
Dim name As String
Dim initialValue As IVsUIObject

instance.AddProperty(name, initialValue)
public void AddProperty(
    string name,
    IVsUIObject initialValue
)
public:
void AddProperty(
    String^ name, 
    IVsUIObject^ initialValue
)
member AddProperty : 
        name:string * 
        initialValue:IVsUIObject -> unit 
public function AddProperty(
    name : String, 
    initialValue : IVsUIObject
)

Parameters

.NET Framework Security

See Also

Reference

UIDataSource Class

UIDataSource Members

Microsoft.Internal.VisualStudio.PlatformUI Namespace