IVsUIDataSource.SetValue(String, IVsUIObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a property to a value.
public:
int SetValue(System::String ^ prop, Microsoft::VisualStudio::Shell::Interop::IVsUIObject ^ pValue);
public:
int SetValue(Platform::String ^ prop, Microsoft::VisualStudio::Shell::Interop::IVsUIObject ^ pValue);
int SetValue(std::wstring const & prop, Microsoft::VisualStudio::Shell::Interop::IVsUIObject const & pValue);
public int SetValue (string prop, Microsoft.VisualStudio.Shell.Interop.IVsUIObject pValue);
abstract member SetValue : string * Microsoft.VisualStudio.Shell.Interop.IVsUIObject -> int
Public Function SetValue (prop As String, pValue As IVsUIObject) As Integer
Parameters
- prop
- String
[in] The name of the property.
- pValue
- IVsUIObject
[in] An object containing the value to set.
Returns
Returns S_OK if the property was set to the value.