ZipEntry.Method Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the compression method of the entry. -or- Sets the compression method for the entry.
public virtual int Method { [Android.Runtime.Register("getMethod", "()I", "GetGetMethodHandler")] get; [Android.Runtime.Register("setMethod", "(I)V", "GetSetMethod_IHandler")] set; }
[<get: Android.Runtime.Register("getMethod", "()I", "GetGetMethodHandler")>]
[<set: Android.Runtime.Register("setMethod", "(I)V", "GetSetMethod_IHandler")>]
member this.Method : int with get, set
Property Value
the compression method of the entry, or -1 if not specified
- Attributes
Exceptions
when value is not DEFLATED
or STORED
.
Remarks
Property getter documentation:
Returns the compression method of the entry.
Java documentation for java.util.zip.ZipEntry.getMethod()
.
Property setter documentation:
Sets the compression method for the entry.
Java documentation for java.util.zip.ZipEntry.setMethod(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.