Partager via


IVsUIDataSource.SetValue(String, IVsUIObject) Method

Definition

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.

Applies to