M

PropertySetElement.Duplicate

Description:
Creates a duplicate of this PropertySetElement.
public PropertySetElement Duplicate(
	Document document,
	string name
)
  • document
    The document in which to create the PropertySetElement.
  • String
    name
    The name to use for the new PropertySetElement.
Return Value PropertySetElement The new PropertySetElement.
  • The given value for name is already in use as a property set name. -or- name is an empty string. -or- name cannot include prohibited characters, such as "{, }, [, ], |, ;, less-than sign, greater-than sign, ?, `, ~".
  • A non-optional argument was null