Class ObjectMetadata
A collection of metadata values for an object.
class Microsoft::Azure::RemoteRendering::ObjectMetadata final
Methods
GetMetadataByName
Query for an entry by name.
A Result.InvalidParam error occurs if no meta data of the requested name exists.
auto GetMetadataByName(std::string const& name) noexcept -> Expected<ApiHandle<Microsoft::Azure::RemoteRendering::ObjectMetadataEntry>, Microsoft::Azure::RemoteRendering::Status>;
Parameters
Name | Type | Description |
---|---|---|
name |
string | The name of the entry to search. |
Returns
Type | Description |
---|---|
ObjectMetadataEntry |
Properties
Metadata
Provides read-only access to all entries in this collection.
auto GetMetadata(std::vector<ApiHandle<Microsoft::Azure::RemoteRendering::ObjectMetadataEntry>> & out) const noexcept -> void;
Valid
Whether this object is still valid.
An object is invalid if it has been destroyed or if the connection has been lost. It is an error to call any other function on an invalid object.
auto GetValid() const noexcept -> bool;