IVsWritableSettingsStore::SetUnsignedInt Method (String^, String^, UInt32)

 

Sets the value of an unsigned integer property. If the previous data type of the property is not SettingsType_Int, this method overwrites it. If the property does not exist, it creates one.

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

int SetUnsignedInt(
	String^ collectionPath,
	String^ propertyName,
	unsigned int value
)

Parameters

collectionPath
Type: System::String^

[in] The path to the collection.

propertyName
Type: System::String^

[in] The property.

value
Type: System::UInt32

[in] The value.

Return Value

Type: System::Int32

Returns T:Microsoft.VisualStudio.VSConstants.S_OK if the value was set. If the collection does not exist, the method returns T:Microsoft.VisualStudio.VSConstants.E_INVALIDARG.

Return to top
Show: