GelDependencyObject.IVsUIDataSource.SetValue Method
Microsoft internal use only.
Sets a property to a value.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Private Function SetValue ( _
prop As String, _
pValue As IVsUIObject _
) As Integer Implements IVsUIDataSource.SetValue
int IVsUIDataSource.SetValue(
string prop,
IVsUIObject pValue
)
private:
virtual int SetValue(
String^ prop,
IVsUIObject^ pValue
) sealed = IVsUIDataSource::SetValue
private abstract SetValue :
prop:string *
pValue:IVsUIObject -> int
private override SetValue :
prop:string *
pValue:IVsUIObject -> int
JScript does not support explicit interface implementations.
Parameters
prop
Type: System.String[in] The name of the property.
pValue
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject[in] An object containing the value to set.
Return Value
Type: System.Int32
Returns S_OK if the property was set to the value.
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.