共用方式為


TaskItem.SetMetadata(String, String) Method

Definition

Sets one of the arbitrary metadata on the item.

public:
 virtual void SetMetadata(System::String ^ metadataName, System::String ^ metadataValue);
public void SetMetadata (string metadataName, string metadataValue);
abstract member SetMetadata : string * string -> unit
override this.SetMetadata : string * string -> unit
Public Sub SetMetadata (metadataName As String, metadataValue As String)

Parameters

metadataName
String

Name of metadata to set or change.

metadataValue
String

Value of metadata.

Implements

Applies to