// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using System; namespace Microsoft.ClearScript { ///

/// Defines options for exposing type members to script code. /// [Flags] public enum ScriptMemberFlags { /// /// Specifies that no options are selected. /// None = 0, /// /// Specifies that the field, property, or method return value is not to be restricted to /// its declared type. /// ExposeRuntimeType = 0x00000001, /// /// 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 or /// to perform such a comparison. /// WrapNullResult = 0x00000002 } }