Partager via


UIDataSource.IVsUIDataSource.SetValue Method

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

Syntax

'Déclaration
Private Function SetValue ( _
    prop As String, _
    newValue As IVsUIObject _
) As Integer Implements IVsUIDataSource.SetValue
'Utilisation
Dim instance As UIDataSource
Dim prop As String
Dim newValue As IVsUIObject
Dim returnValue As Integer

returnValue = CType(instance, IVsUIDataSource).SetValue(prop, _
    newValue)
int IVsUIDataSource.SetValue(
    string prop,
    IVsUIObject newValue
)
private:
virtual int SetValue(
    String^ prop, 
    IVsUIObject^ newValue
) sealed = IVsUIDataSource::SetValue
private abstract SetValue : 
        prop:string * 
        newValue:IVsUIObject -> int 
private override SetValue : 
        prop:string * 
        newValue:IVsUIObject -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32

Implements

IVsUIDataSource.SetValue(String, IVsUIObject)

.NET Framework Security

See Also

Reference

UIDataSource Class

UIDataSource Members

Microsoft.Internal.VisualStudio.PlatformUI Namespace