ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
AsyncDocumentLoadCallback Delegate
ConcurrentPropertyBag Class
ContinuationCallback Delegate
CustomAttributeLoader Class
DefaultDocumentLoader Class
DefaultScriptUsageAttribute Class
Document Class
DocumentAccessFlags Enumeration
DocumentCategory Class
DocumentContextCallback Delegate
DocumentFlags Enumeration
DocumentInfo Structure
DocumentLoadCallback Delegate
DocumentLoader Class
DocumentSettings Class
DynamicHostObject Class
EventConnection Class
EventConnection<T> Class
EventSource Class
EventSource<T> Class
ExtendedHostFunctions Class
Extensions Class
HostFunctions Class
HostItemFlags Enumeration
HostSettings Class
HostTypeCollection Class
ImmutableValueAttribute Class
IPropertyBag Interface
IScriptableObject Interface
IScriptEngine Interface
IScriptEngineException Interface
IScriptObject Interface
NoDefaultScriptAccessAttribute Class
NoScriptAccessAttribute Class
PropertyBag Class
ScriptAccess Enumeration
ScriptEngine Class
ScriptEngineException Class
ScriptInterruptedException Class
ScriptMemberAttribute Class
ScriptMemberFlags Enumeration
ScriptObject Class
ScriptUsageAttribute Class
StringDocument Class
Undefined Class
ValueRef Class
ValueRef<T> Class
VoidResult Class

# ScriptMemberFlags Enumeration

Defines options for exposing type members to script code.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    [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

#### Reference

Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft