to_string method

to_string

Converts the metadata signature to a string using the overridden ToString method.

Converts a boolean property into “True” or “False”. For other data types the default data format provider is used.

def to_string(self):
    ...

Returns: str: The metadata signature value as a string.

to_string

Converts to a string with the specified format.

Converts a boolean property into “True” or “False”.

def to_string(self, format, provider):
    ...
Parameter Type Description
format str Data format string.
provider System.IFormatProvider Format data provider to use with data conversion operations.

Returns: The metadata signature value as a string.

See Also