Clear Up
SharpKit Reference

JsPropertyAttribute Class

Specifies custom instructions for SharpKit for a property, this information is used when exporting the member, and when using it.

Namespace: SharpKit.JavaScript

Base Types

System.Attribute

Base Interfaces

System.Runtime.InteropServices._Attribute

Constructors

Name Description
JsPropertyAttribute()

Properties

Name Description
Export Indicates that SharpKit compiler will generate javascript code for this type / member This property is inherited and applied to all derived types. Default value is true
Global Sets a static property as a global property - omits the class name when declaring and invoking the property
Name
NativeField When set, all references will not use getters and setter, but will treat it as a field instead
NativeIndexer When applied to an indexer property, all references will not use getters and setter, but will treat it as a native indexer instead
NativeProperty When true, Object.defineProperty is used for properties. The browser needs to support native property.
TargetProperty Applies the attribute externally on a property
TargetType Applies the attribute externally on a type
TargetTypeName Applies the attribute externally on a type
© Copyright 2005-2011 SharpKit. All rights reserved.