ScriptMemberFlags Enumeration |
Defines options for exposing type members to script code.
Namespace:
Microsoft.ClearScript
Assembly:
ClearScript.Core (in ClearScript.Core.dll) Version: 7.3.1
Syntax[FlagsAttribute]
public enum ScriptMemberFlags
<FlagsAttribute>
Public Enumeration ScriptMemberFlags
[FlagsAttribute]
public enum class ScriptMemberFlags
[<FlagsAttribute>]
type ScriptMemberFlags
Members
| Member name | Value | Description |
---|
| None | 0 |
Specifies that no options are selected.
|
| ExposeRuntimeType | 1 |
Specifies that the field, property, or method return value is not to be restricted to
its declared type.
|
| WrapNullResult | 2 |
Specifies that the field, property, or method return value is to be marshaled with full
.NET type information even if it is null. Note that such a value will always
fail equality comparison with JavaScript's
null,
VBScript's
Nothing,
and other similar values. Instead, use isNull(Object) or
Equals(Object, Object) to perform such a comparison.
|
See Also