VsaGlobalItem.ExposeMembers 属性
定义
获取或设置一个值,该值指示是否应当使全局对象的成员对脚本引擎可用。Gets or sets a value that indicates whether the members of the global object should be made available to the script engine.
public:
property bool ExposeMembers { bool get(); void set(bool value); };
public bool ExposeMembers { get; set; }
member this.ExposeMembers : bool with get, set
Public Property ExposeMembers As Boolean
属性值
true 如果全局对象的公共成员无需限定即可供脚本引擎使用,就如同它们是全局命名空间的一部分。true if public members of the global object are available to the script engine without qualification, as if they are part of the global namespace. false 如果必须用对象名称限定全局对象的成员,则为。false if a member of the global object must be qualified with the object's name.