Clear Up
SharpKit Reference

JsEnumAttribute Class

Controls the interoperability and conversion of a .NET enum type into JavaScript.

Namespace: SharpKit.JavaScript

Base Types

System.Attribute

Base Interfaces

System.Runtime.InteropServices._Attribute

Constructors

Name Description
JsEnumAttribute()

Fields

Name Description
_ValuesAsNames

Properties

Name Description
TargetType When used as assembly attribute, indicates the type for which to apply this attribute on. This feature should be used when trying to describe classes on external assemblies that has no SharpKit support
TargetTypeName When used as assembly attribute, indicates the type for which to apply this attribute on. This feature should be used when trying to describe classes on external assemblies that has no SharpKit support
ValuesAsNames When type is exported, the value of every enum member will be its string name representation, and not its numeric value
© Copyright 2005-2011 SharpKit. All rights reserved.