Partager via


ISettingsProviderContract.SetValue Method (String, String, String, Guid, Int32, Byte[], Boolean)

 

Sets a value for a specific application, collection, and key.

Namespace:   Microsoft.WindowsServerSolutions.Settings
Assembly:  SettingsObjectModel (in SettingsObjectModel.dll)

Syntax

[OperationContractAttribute]
void SetValue(
    string application,
    string collection,
    string key,
    Guid operationId,
    int sequence,
    byte[] data,
    bool moreData
)
[OperationContractAttribute]
void SetValue(
    String^ application,
    String^ collection,
    String^ key,
    Guid operationId,
    int sequence,
    array<unsigned char>^ data,
    bool moreData
)
<OperationContractAttribute>
Sub SetValue (
    application As String,
    collection As String,
    key As String,
    operationId As Guid,
    sequence As Integer,
    data As Byte(),
    moreData As Boolean
)

Parameters

  • application
    Type: System.String

    The application to set the value in.

  • collection
    Type: System.String

    The collection to set the value in.

  • key
    Type: System.String

    The key in the collection to add or modify.

  • operationId
    Type: System.Guid

    A unique identifier for this set value operation.

  • sequence
    Type: System.Int32

    The location of this chunk of data in the sequence of data chunks sent.

  • data
    Type: System.Byte[]

    The data to save as the value for the specified key.

  • moreData
    Type: System.Boolean

    true if more data data should be expected; otherwise, false.

See Also

ISettingsProviderContract Interface
Microsoft.WindowsServerSolutions.Settings Namespace

Return to top