Class Multipart.Part
Represents a part of multipart encoding
Inheritance
System.Object
Multipart.Part
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Web
Assembly: Azos.Web.dll
Syntax
public sealed class Part : INamed
Constructors
Part(String)
Declaration
public Part(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Properties
Content
Declaration
public object Content { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
ContentType
Declaration
public string ContentType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FileName
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
PartName
Represents the name that gets written to / read from stream. According to Section 4.3 of https://tools.ietf.org/html/rfc7578 part names may not be unique (multiple files for one form field). The Name property must be unqiue, whereas PartName may repeat.
Declaration
public string PartName { get; set; }
Property Value
Type | Description |
---|---|
System.String |