IVsUIDataSource.SetValue Method
Sets a property to a value.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function SetValue ( _
prop As String, _
pValue As IVsUIObject _
) As Integer
int SetValue(
string prop,
IVsUIObject pValue
)
int SetValue(
[InAttribute] String^ prop,
[InAttribute] IVsUIObject^ pValue
)
abstract SetValue :
prop:string *
pValue:IVsUIObject -> int
function SetValue(
prop : String,
pValue : IVsUIObject
) : int
Parameters
prop
Type: 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: Int32
Returns S_OK if the property was set to the value.
.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.