content_type property

CustomPart.content_type property

Specifies the content type of this custom part.

@property
def content_type(self) -> str:
    ...

@content_type.setter
def content_type(self, value: str):
    ...

Remarks

This property is applicable only when CustomPart.is_external is False.

The default value is an empty string. A valid value must be a non-empty string.

See Also