VolumeSnapshot Methods
Record Methods 8 members
A snapshot of a volume, mounted to a container.
public record VolumeSnapshot{ public VolumeSnapshot <Clone>$() { // ... }}Deconstruct(string?, string, string, bool) Section titled Deconstruct(string?, string, string, bool) public record VolumeSnapshot{ public void Deconstruct( out string? Source, out string Target, out string MountType, out bool IsReadOnly) { // ... }}Parameters
Source string? Target string MountType string IsReadOnly bool Determines whether the specified object is equal to the current object.
public record VolumeSnapshot{ public override bool Equals( object? obj) { // ... }}Parameters
obj object? The object to compare with the current object. Returns
bool true if the specified object is equal to the current object; otherwise, false. Indicates whether the current object is equal to another object of the same type.
public record VolumeSnapshot{ public bool Equals( VolumeSnapshot? other) { // ... }}Parameters
other VolumeSnapshot? An object to compare with this object. Returns
bool true if the current object is equal to the other parameter; otherwise, false. Serves as the default hash function.
public record VolumeSnapshot{ public override int GetHashCode() { // ... }}Returns
int A hash code for the current object. op_Equality(VolumeSnapshot?, VolumeSnapshot?) Section titled op_Equality(VolumeSnapshot?, VolumeSnapshot?) static bool public record VolumeSnapshot{ public static bool operator ==( VolumeSnapshot? left, VolumeSnapshot? right) { // ... }}Parameters
left VolumeSnapshot? right VolumeSnapshot? op_Inequality(VolumeSnapshot?, VolumeSnapshot?) Section titled op_Inequality(VolumeSnapshot?, VolumeSnapshot?) static bool public record VolumeSnapshot{ public static bool operator !=( VolumeSnapshot? left, VolumeSnapshot? right) { // ... }}Parameters
left VolumeSnapshot? right VolumeSnapshot? Returns a string that represents the current object.
public record VolumeSnapshot{ public override string ToString() { // ... }}Returns
string A string that represents the current object.