IVsWritableSettingsStore.SetBinary Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Function SetBinary ( _
collectionPath As String, _
propertyName As String, _
byteLength As UInteger, _
pBytes As Byte() _
) As Integer
'Utilisation
Dim instance As IVsWritableSettingsStore
Dim collectionPath As String
Dim propertyName As String
Dim byteLength As UInteger
Dim pBytes As Byte()
Dim returnValue As Integer
returnValue = instance.SetBinary(collectionPath, _
propertyName, byteLength, pBytes)
int SetBinary(
string collectionPath,
string propertyName,
uint byteLength,
byte[] pBytes
)
int SetBinary(
[InAttribute] String^ collectionPath,
[InAttribute] String^ propertyName,
[InAttribute] unsigned int byteLength,
[InAttribute] array<unsigned char>^ pBytes
)
abstract SetBinary :
collectionPath:string *
propertyName:string *
byteLength:uint32 *
pBytes:byte[] -> int
function SetBinary(
collectionPath : String,
propertyName : String,
byteLength : uint,
pBytes : byte[]
) : int
Parameters
- collectionPath
Type: System.String
- propertyName
Type: System.String
- byteLength
Type: System.UInt32
- pBytes
Type: array<System.Byte[]
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsWritableSettingsStore Interface