Sets the number of the part to be copied.
![](../icons/collapse_all.gif)
C# |
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")] public CopyPartRequest WithPartNumber( int partNumber )
![](../icons/collapse_all.gif)
- partNumber (Int32)
- value to set the PartNumber property to
![](../icons/collapse_all.gif)
this instance
![](../icons/collapse_all.gif)
Valid part numbers are from 1 to 10,000 inclusive and will uniquely identify the part
and determine the relative ordering within the destination object. If a part already
exists with the PartNumber it will be overwritten.