partContentDisposition (property)
Content disposition for each part.
Syntax
- (NSString*)partContentDisposition:(int)partIdx; - (void)setPartContentDisposition:(int)partIdx:(NSString*)newPartContentDisposition;
public func partContentDisposition(partIdx: Int32) throws -> String
public func setPartContentDisposition(partIdx: Int32, newPartContentDisposition: String) throws -> Void
Default Value
""
Remarks
Content disposition for each part.
The value in this property is used in the Content-Disposition header. Typical values include "form-data", "attachment" etc. The class fills it out each time the PartDecodedFile is changed. Changing the PartContentDisposition recalculates the PartHeaders as well.
The PartIdx parameter specifies the index of the item in the array. The size of the array is controlled by the PartCount property.