/// <summary> /// Return a copy of this property set. /// </summary> /// <returns>A copy of this property set.</returns> public DisplayProperties Clone() { DisplayProperties copy = new DisplayProperties(); copy.BufferAddress = this.BufferAddress; copy.BufferSize = this.BufferSize; copy.Height = this.Height; copy.Mode = this.Mode; copy.PixelFormat = this.PixelFormat; copy.SyncMode = this.SyncMode; copy.Width = this.Width; return(copy); }
/// <summary> /// Return a copy of this property set. /// </summary> /// <returns>A copy of this property set.</returns> public DisplayProperties Clone() { DisplayProperties copy = new DisplayProperties(); copy.BufferAddress = this.BufferAddress; copy.BufferSize = this.BufferSize; copy.Height = this.Height; copy.Mode = this.Mode; copy.PixelFormat = this.PixelFormat; copy.SyncMode = this.SyncMode; copy.Width = this.Width; return copy; }