Share via


CreateItem.PreserveExistingMetadata Property

Definition

Only apply the additional metadata is none already exists

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property bool PreserveExistingMetadata { bool get(); void set(bool value); };
public bool PreserveExistingMetadata { get; set; }
public bool PreserveExistingMetadata { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.PreserveExistingMetadata : bool with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.PreserveExistingMetadata : bool with get, set
Public Property PreserveExistingMetadata As Boolean

Property Value

true if the CreateItem task should apply the additional metadata only if none already exists; otherwise, false.

Attributes

Applies to