Skip to content

ObjectCopyOptions Helper methods for Properties #24

@IdrissPiard

Description

@IdrissPiard

Could we have helper methods on ObjectCopyOptions for the underlying Properties ? Chainable would be nice too.

These could be the above specified helpers:

  • public ObjectCopyOptions ReplaceOrAdd(int propertyId, MFDataType dataType, object value);
  • public ObjectCopyOptions Add(int propertyId, MFDataType dataType, object value);
  • public ObjectCopyOptions Remove(int propertyId);

An improved overload could infer DataType from propertyId:

  • public ObjectCopyOptions ReplaceOrAdd(int propertyId, object value);
  • public ObjectCopyOptions Add(int propertyId, object value);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions