ToGuid

MessageObjectProperty.ToGuid method

Converts the value of the property to Guid.

public Guid ToGuid()

Return Value

Guid object, if type can’t be converted to Guid returns empty GUID.

Remarks

This method doesn’t provide automatic conversion of the data types, e.g. if Value property is of type default value will be returned.

See Also