IVsSettingsWriter::WriteSettingBytes Method (String^, array<Byte>^, Int32)
Visual Studio 2015
Stores the values of an array in the Visual Studio settings file.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int WriteSettingBytes( String^ pszSettingName, array<unsigned char>^ pSettingValue, int lDataLength )
Parameters
- pszSettingName
-
Type:
System::String^
[in] String uniquely identifying the data element to be stored.
- pSettingValue
-
Type:
array<System::Byte>^
[in, size_is(lDataLength)] Buffer to be stored as the specified data element of the Visual Studio settings file.
- lDataLength
-
Type:
System::Int32
[in] Number of byte values to be stored.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: