Language

PropertyAttribute Class

Definition

Adds a named property declaration to an application or component manifest entry.

[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
[System.Serializable]
public sealed class PropertyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
[<System.Serializable>]
type PropertyAttribute = class
    inherit Attribute
Inheritance
PropertyAttribute
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
PropertyAttribute(String)

Initializes a named manifest property declaration.

Properties

Name Description
Name

Gets the name used for the manifest property.

Resource

Gets or sets a resource reference for the named manifest property.

Value

Gets or sets the value expression for the named manifest property.

Applies to