Język

NamespaceMappingAttribute Class

Definition

Records a mapping from a Java package to a managed namespace.

[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Module, AllowMultiple=true)]
public class NamespaceMappingAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Module, AllowMultiple=true)>]
type NamespaceMappingAttribute = class
    inherit Attribute
Inheritance
NamespaceMappingAttribute
Attributes

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

Name Description
NamespaceMappingAttribute()

Creates an attribute whose Java package and managed namespace can be set.

Properties

Name Description
Java

Gets or sets the Java package name in the mapping.

Managed

Gets or sets the managed namespace in the mapping.

Applies to