VolumeSnapshot Methods
RecordMethods8 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
Sourcestring?TargetstringMountTypestringIsReadOnlyboolDetermines whether the specified object is equal to the current object.
public record VolumeSnapshot{ public override bool Equals( object? obj) { // ... }}Parameters
objobject?The object to compare with the current object.Returns
booltrue 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
otherVolumeSnapshot?An object to compare with this object.Returns
booltrue 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
intA hash code for the current object.op_Equality(VolumeSnapshot?, VolumeSnapshot?)Section titled op_Equality(VolumeSnapshot?, VolumeSnapshot?)staticboolpublic record VolumeSnapshot{ public static bool operator ==( VolumeSnapshot? left, VolumeSnapshot? right) { // ... }}Parameters
leftVolumeSnapshot?rightVolumeSnapshot?op_Inequality(VolumeSnapshot?, VolumeSnapshot?)Section titled op_Inequality(VolumeSnapshot?, VolumeSnapshot?)staticboolpublic record VolumeSnapshot{ public static bool operator !=( VolumeSnapshot? left, VolumeSnapshot? right) { // ... }}Parameters
leftVolumeSnapshot?rightVolumeSnapshot?Returns a string that represents the current object.
public record VolumeSnapshot{ public override string ToString() { // ... }}Returns
stringA string that represents the current object.