Taal

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

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