IVsWritableSettingsStore.SetBinary Method

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

Syntax

声明
Function SetBinary ( _
    collectionPath As String, _
    propertyName As String, _
    byteLength As UInteger, _
    pBytes As Byte() _
) As Integer
用法
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

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsWritableSettingsStore Interface

IVsWritableSettingsStore Members

Microsoft.VisualStudio.Shell.Interop Namespace