Megosztás a következőn keresztül:


RegisterAttribute Class

Definition

This API supports the MonoDroid infrastructure and is not intended to be used directly from your code.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property)]
public sealed class RegisterAttribute : Attribute, Java.Interop.IJniNameProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property)>]
type RegisterAttribute = class
    inherit Attribute
    interface IJniNameProviderAttribute
Inheritance
RegisterAttribute
Attributes
Implements

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.

Constructors

RegisterAttribute(String, String, String)

Constructs and initializes an instance of the RegisterAttribute type with the specified member name, signature, and connector.

RegisterAttribute(String)

Constructs and initializes an instance of the RegisterAttribute type with the specified type name.

Properties

ApiSince
Connector

The internal method to use to connect JNI native declarations to the corresponding managed implementations.

DoNotGenerateAcw

Whether an Android Callable Wrapper should be generated for the type.

Name

The name of the coresponding Android type or member.

Signature

The signature of the coresponding Android member.

Applies to