Language

StringDefAttribute Class

Definition

Records managed constant names for an Android string-definition annotation.

[System.AttributeUsage(System.AttributeTargets.Constructor | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=true)]
public class StringDefAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Constructor | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=true)>]
type StringDefAttribute = class
    inherit Attribute
Inheritance
StringDefAttribute
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
StringDefAttribute()

Creates a string-definition attribute with no type or field names set.

Properties

Name Description
Fields

Gets or sets the names of the managed constants in the string definition.

Type

Gets or sets the managed type name for the constants in the string definition.

Applies to