Attributes Constructors
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.
Attributes() |
Constructs a new, empty Attributes object with default size. |
Attributes(Attributes) |
Constructs a new Attributes object with the same attribute name-value mappings as in the specified Attributes. |
Attributes(Int32) |
Constructs a new, empty Attributes object with the specified initial size. |
Attributes(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Constructs a new, empty Attributes object with default size.
[Android.Runtime.Register(".ctor", "()V", "")]
public Attributes();
- Attributes
Remarks
Constructs a new, empty Attributes object with default size.
Java documentation for java.util.jar.Attributes.Attributes()
.
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.
Applies to
.NET for Android .NET for Android API 35 och .NET for Android .NET for Android API 34
Produkt | Versioner |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |
Constructs a new Attributes object with the same attribute name-value mappings as in the specified Attributes.
[Android.Runtime.Register(".ctor", "(Ljava/util/jar/Attributes;)V", "")]
public Attributes(Java.Util.Jar.Attributes? attr);
[<Android.Runtime.Register(".ctor", "(Ljava/util/jar/Attributes;)V", "")>]
new Java.Util.Jar.Attributes : Java.Util.Jar.Attributes -> Java.Util.Jar.Attributes
Parameters
- attr
- Attributes
the specified Attributes
- Attributes
Remarks
Constructs a new Attributes object with the same attribute name-value mappings as in the specified Attributes.
Java documentation for java.util.jar.Attributes.Attributes(java.util.jar.Attributes)
.
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.
Applies to
.NET for Android .NET for Android API 35 och .NET for Android .NET for Android API 34
Produkt | Versioner |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |
Constructs a new, empty Attributes object with the specified initial size.
[Android.Runtime.Register(".ctor", "(I)V", "")]
public Attributes(int size);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Java.Util.Jar.Attributes : int -> Java.Util.Jar.Attributes
Parameters
- size
- Int32
the initial number of attributes
- Attributes
Remarks
Constructs a new, empty Attributes object with the specified initial size.
Java documentation for java.util.jar.Attributes.Attributes(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.
Applies to
.NET for Android .NET for Android API 35 och .NET for Android .NET for Android API 34
Produkt | Versioner |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected Attributes(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Jar.Attributes : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Jar.Attributes
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
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.
Applies to
.NET for Android .NET for Android API 35 och .NET for Android .NET for Android API 34
Produkt | Versioner |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |