IVsUIDataSource::SetValue Method (String^, IVsUIObject^)

 

Sets a property to a value.

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

int SetValue(
	String^ prop,
	IVsUIObject^ pValue
)

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.

Return to top
Show: