Partager via


ListObject.AddMetadata Method (String, String)

 

Adds a key and value pair of metadata that can be used to track the state within the list object.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Syntax

public void AddMetadata(
    string key,
    string value
)
public:
void AddMetadata(
    String^ key,
    String^ value
)
Public Sub AddMetadata (
    key As String,
    value As String
)

Parameters

  • key
    Type: System.String

    A key that is used to retrieve the associated metadata value.

  • value
    Type: System.String

    The metadata value that augments the list object.

See Also

ListObject Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners Namespace

Return to top