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
- prop
Type: System.String
- newValue
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject
Return Value
Type: System.Int32
Implements
IVsUIDataSource.SetValue(String, IVsUIObject)
.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.