Repository navigation
Expand file tree
/
Copy pathIActivationObject.xml
More file actions
177 lines (173 loc) · 10.2 KB
/
Copy pathIActivationObject.xml
File metadata and controls
177 lines (173 loc) · 10.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<Type Name="IActivationObject" FullName="Microsoft.JScript.IActivationObject">
<TypeSignature Language="C#" Value="public interface IActivationObject" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IActivationObject" />
<TypeSignature Language="DocId" Value="T:Microsoft.JScript.IActivationObject" />
<TypeSignature Language="VB.NET" Value="Public Interface IActivationObject" />
<TypeSignature Language="C++ CLI" Value="public interface class IActivationObject" />
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Docs>
<summary>Defines methods for resolving scope. This interface is implemented by all objects that take part in a scope hierarchy.</summary>
<remarks>To be added.</remarks>
<forInternalUseOnly />
<altmember cref="T:Microsoft.JScript.ActivationObject" />
<altmember cref="T:Microsoft.JScript.ScriptObject" />
<altmember cref="T:Microsoft.JScript.GlobalScope" />
<altmember cref="T:System.Reflection.FieldInfo" />
</Docs>
<Members>
<Member MemberName="GetDefaultThisObject">
<MemberSignature Language="C#" Value="public object GetDefaultThisObject ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object GetDefaultThisObject() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.IActivationObject.GetDefaultThisObject" />
<MemberSignature Language="VB.NET" Value="Public Function GetDefaultThisObject () As Object" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ GetDefaultThisObject();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>When implemented in a class, gets the current default scope. Either the contained object of a <see langword="with" /> statement scope, or the global scope.</summary>
<returns>The current default scope.</returns>
<remarks>To be added.</remarks>
<forInternalUseOnly />
<altmember cref="T:Microsoft.JScript.ActivationObject" />
<altmember cref="T:Microsoft.JScript.ScriptObject" />
<altmember cref="T:Microsoft.JScript.GlobalScope" />
<altmember cref="T:System.Reflection.FieldInfo" />
</Docs>
</Member>
<Member MemberName="GetField">
<MemberSignature Language="C#" Value="public System.Reflection.FieldInfo GetField (string name, int lexLevel);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Reflection.FieldInfo GetField(string name, int32 lexLevel) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.IActivationObject.GetField(System.String,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Function GetField (name As String, lexLevel As Integer) As FieldInfo" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Reflection::FieldInfo ^ GetField(System::String ^ name, int lexLevel);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Reflection.FieldInfo</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="lexLevel" Type="System.Int32" />
</Parameters>
<Docs>
<param name="name">The name of the field to search for.</param>
<param name="lexLevel">The lexical level to search.</param>
<summary>When implemented in a class, returns a field that has the specified name by searching the scope hierarchy. This method searches only the scope that is specified by the lexical level.</summary>
<returns>A <see cref="T:System.Reflection.FieldInfo" /> object that has the specified name.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method applies to fields that cannot be resolved at compile time. This happens when an `eval` expression refers to a field in the outer scope. Because the `eval` expression can declare a local field with the same name, the field cannot be early bound to the outer scope field.
]]></format>
</remarks>
<forInternalUseOnly />
<altmember cref="T:Microsoft.JScript.ActivationObject" />
<altmember cref="T:Microsoft.JScript.ScriptObject" />
<altmember cref="T:Microsoft.JScript.GlobalScope" />
</Docs>
</Member>
<Member MemberName="GetGlobalScope">
<MemberSignature Language="C#" Value="public Microsoft.JScript.GlobalScope GetGlobalScope ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.JScript.GlobalScope GetGlobalScope() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.IActivationObject.GetGlobalScope" />
<MemberSignature Language="VB.NET" Value="Public Function GetGlobalScope () As GlobalScope" />
<MemberSignature Language="C++ CLI" Value="public:
 Microsoft::JScript::GlobalScope ^ GetGlobalScope();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.JScript.GlobalScope</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>When implemented in a class, gets the global scope by searching the scope hierarchy until it finds a scope that includes static variables, for example, a module scope.</summary>
<returns>The global scope.</returns>
<remarks>To be added.</remarks>
<forInternalUseOnly />
<altmember cref="T:Microsoft.JScript.ActivationObject" />
<altmember cref="T:Microsoft.JScript.ScriptObject" />
<altmember cref="T:System.Reflection.FieldInfo" />
</Docs>
</Member>
<Member MemberName="GetLocalField">
<MemberSignature Language="C#" Value="public System.Reflection.FieldInfo GetLocalField (string name);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Reflection.FieldInfo GetLocalField(string name) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.IActivationObject.GetLocalField(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function GetLocalField (name As String) As FieldInfo" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Reflection::FieldInfo ^ GetLocalField(System::String ^ name);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Reflection.FieldInfo</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">The name of the field.</param>
<summary>When implemented in a class, gets the local declaration of a field that has the specified name. This is used at compile time for error checking.</summary>
<returns>The local declaration of the field.</returns>
<remarks>To be added.</remarks>
<forInternalUseOnly />
<altmember cref="T:Microsoft.JScript.ActivationObject" />
<altmember cref="T:Microsoft.JScript.ScriptObject" />
<altmember cref="T:Microsoft.JScript.GlobalScope" />
</Docs>
</Member>
<Member MemberName="GetMemberValue">
<MemberSignature Language="C#" Value="public object GetMemberValue (string name, int lexlevel);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object GetMemberValue(string name, int32 lexlevel) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.IActivationObject.GetMemberValue(System.String,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Function GetMemberValue (name As String, lexlevel As Integer) As Object" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ GetMemberValue(System::String ^ name, int lexlevel);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="lexlevel" Type="System.Int32" />
</Parameters>
<Docs>
<param name="name">The name of the member to search for.</param>
<param name="lexlevel">The lexical level to search.</param>
<summary>When implemented in a class, gets the value of the specified member by searching the scope hierarchy. This method searches only the scope that is specified by the lexical level.</summary>
<returns>The value of the member <paramref name="name" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method applies to members that cannot be resolved at compile time. This occurs when an `eval` expression refers to a member in the outer scope. Because the `eval` expression can declare a local member with the same name, the member cannot be early bound to the outer scope member.
]]></format>
</remarks>
<forInternalUseOnly />
<altmember cref="T:Microsoft.JScript.ActivationObject" />
<altmember cref="T:Microsoft.JScript.ScriptObject" />
<altmember cref="T:Microsoft.JScript.GlobalScope" />
<altmember cref="T:System.Reflection.FieldInfo" />
</Docs>
</Member>
</Members>
</Type>