ArcFM Desktop Developer Guide
LocalizationRequiredAttribute Class
Members  Example 


Product Availability
Required Licenses
.NET Assembly
Indicates that marked element should be localized or not
Object Model
LocalizationRequiredAttribute Class
Syntax
'Declaration
 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Assembly Or  _
    AttributeTargets.Module Or  _
    AttributeTargets.Class Or  _
    AttributeTargets.Struct Or  _
    AttributeTargets.Enum Or  _
    AttributeTargets.Constructor Or  _
    AttributeTargets.Method Or  _
    AttributeTargets.Property Or  _
    AttributeTargets.Field Or  _
    AttributeTargets.Event Or  _
    AttributeTargets.Interface Or  _
    AttributeTargets.Parameter Or  _
    AttributeTargets.Delegate Or  _
    AttributeTargets.ReturnValue Or  _
    AttributeTargets.GenericParameter Or  _
    AttributeTargets.All, 
   AllowMultiple=False, 
   Inherited=True)>
Public NotInheritable Class LocalizationRequiredAttribute 
   Inherits System.Attribute
'Usage
 
Dim instance As LocalizationRequiredAttribute
[AttributeUsage(ValidOn=AttributeTargets.Assembly | 
    AttributeTargets.Module | 
    AttributeTargets.Class | 
    AttributeTargets.Struct | 
    AttributeTargets.Enum | 
    AttributeTargets.Constructor | 
    AttributeTargets.Method | 
    AttributeTargets.Property | 
    AttributeTargets.Field | 
    AttributeTargets.Event | 
    AttributeTargets.Interface | 
    AttributeTargets.Parameter | 
    AttributeTargets.Delegate | 
    AttributeTargets.ReturnValue | 
    AttributeTargets.GenericParameter | 
    AttributeTargets.All, 
   AllowMultiple=false, 
   Inherited=true)]
public sealed class LocalizationRequiredAttribute : System.Attribute 
Example
[LocalizationRequiredAttribute(true)]
public class Foo {
  private string str = "my string"; // Warning: Localizable string
}
Inheritance Hierarchy

System.Object
   System.Attribute
      Miner.Desktop.DesignerExpress.Annotations.LocalizationRequiredAttribute

Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

LocalizationRequiredAttribute Members
Miner.Desktop.DesignerExpress.Annotations Namespace

 

 


Send Comment