Class ObjectMetadataEntry
A single metadata entry for an object.
Lifetime is managed by the owning metadata container (ObjectMetadata).
class Microsoft::Azure::RemoteRendering::ObjectMetadataEntry final
Properties
AsBool
Returns the value of this metadata as a bool.
A Result.InvalidType error occurs if this is called although ObjectMetadataEntry.Type doesn't match.
auto GetAsBool() const noexcept -> Expected<bool, Microsoft::Azure::RemoteRendering::Status>;
AsDouble
Returns the value of this metadata as a double.
A Result.InvalidType error occurs if this is called although ObjectMetadataEntry.Type doesn't match.
auto GetAsDouble() const noexcept -> Expected<double, Microsoft::Azure::RemoteRendering::Status>;
AsInt
Returns the value of this metadata as an Int32.
A Result.InvalidType error occurs if this is called although ObjectMetadataEntry.Type doesn't match.
auto GetAsInt() const noexcept -> Expected<int32_t, Microsoft::Azure::RemoteRendering::Status>;
AsInt64
Returns the value of this metadata as an Int64.
A Result.InvalidType error occurs if this is called although ObjectMetadataEntry.Type doesn't match.
auto GetAsInt64() const noexcept -> Expected<int64_t, Microsoft::Azure::RemoteRendering::Status>;
AsString
Returns the value of this metadata as a string.
A Result.InvalidType error occurs if this is called although ObjectMetadataEntry.Type doesn't match.
auto GetAsString(std::string & out) const noexcept -> Microsoft::Azure::RemoteRendering::Status;
AsUInt64
Returns the value of this metadata as a UInt64.
A Result.InvalidType error occurs if this is called although ObjectMetadataEntry.Type doesn't match.
auto GetAsUInt64() const noexcept -> Expected<uint64_t, Microsoft::Azure::RemoteRendering::Status>;
Name
Name of this metadata entry.
auto GetName(std::string & out) const noexcept -> void;
Type
Type of this metadata. See MetadataValueType.
auto GetType() const noexcept -> Microsoft::Azure::RemoteRendering::MetadataValueType;