Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
91 lines (90 sloc) 5.96 KB
<Type Name="BlockScope" FullName="Microsoft.JScript.BlockScope">
<TypeSignature Language="C#" Value="public class BlockScope : Microsoft.JScript.ActivationObject" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit BlockScope extends Microsoft.JScript.ActivationObject" />
<TypeSignature Language="DocId" Value="T:Microsoft.JScript.BlockScope" />
<TypeSignature Language="VB.NET" Value="Public Class BlockScope&#xA;Inherits ActivationObject" />
<TypeSignature Language="C++ CLI" Value="public ref class BlockScope : Microsoft::JScript::ActivationObject" />
<TypeSignature Language="F#" Value="type BlockScope = class&#xA; inherit ActivationObject" />
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>7.0.5000.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Microsoft.JScript.ActivationObject</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents the scope of a block of code that is taking part in a scope hierarchy and that can be pushed onto the global scope stack. For example, this class can represent the scope of a <see langword="try" /> block.</summary>
<remarks>To be added.</remarks>
<forInternalUseOnly />
<altmember cref="T:Microsoft.JScript.Block" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public BlockScope (Microsoft.JScript.ScriptObject parent, string name, int scopeId);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Microsoft.JScript.ScriptObject parent, string name, int32 scopeId) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.BlockScope.#ctor(Microsoft.JScript.ScriptObject,System.String,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (parent As ScriptObject, name As String, scopeId As Integer)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; BlockScope(Microsoft::JScript::ScriptObject ^ parent, System::String ^ name, int scopeId);" />
<MemberSignature Language="F#" Value="new Microsoft.JScript.BlockScope : Microsoft.JScript.ScriptObject * string * int -&gt; Microsoft.JScript.BlockScope" Usage="new Microsoft.JScript.BlockScope (parent, name, scopeId)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>7.0.5000.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="parent" Type="Microsoft.JScript.ScriptObject" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="scopeId" Type="System.Int32" />
</Parameters>
<Docs>
<param name="parent">The parent of the scope.</param>
<param name="name">The name of the scope.</param>
<param name="scopeId">The ID of the scope.</param>
<summary>Initializes a new instance of the <see cref="T:Microsoft.JScript.BlockScope" /> class.</summary>
<remarks>To be added.</remarks>
<forInternalUseOnly />
<altmember cref="T:Microsoft.JScript.Block" />
<altmember cref="T:Microsoft.JScript.ActivationObject" />
</Docs>
</Member>
<Member MemberName="CreateField">
<MemberSignature Language="C#" Value="protected override Microsoft.JScript.JSVariableField CreateField (string name, System.Reflection.FieldAttributes attributeFlags, object value);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance class Microsoft.JScript.JSVariableField CreateField(string name, valuetype System.Reflection.FieldAttributes attributeFlags, object value) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.JScript.BlockScope.CreateField(System.String,System.Reflection.FieldAttributes,System.Object)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function CreateField (name As String, attributeFlags As FieldAttributes, value As Object) As JSVariableField" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override Microsoft::JScript::JSVariableField ^ CreateField(System::String ^ name, System::Reflection::FieldAttributes attributeFlags, System::Object ^ value);" />
<MemberSignature Language="F#" Value="override this.CreateField : string * System.Reflection.FieldAttributes * obj -&gt; Microsoft.JScript.JSVariableField" Usage="blockScope.CreateField (name, attributeFlags, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.JScript</AssemblyName>
<AssemblyVersion>7.0.5000.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.JScript.JSVariableField</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="attributeFlags" Type="System.Reflection.FieldAttributes" />
<Parameter Name="value" Type="System.Object" />
</Parameters>
<Docs>
<param name="name">The name of the field.</param>
<param name="attributeFlags">A bitwise combination of the enumeration values that describe the attributes of the field.</param>
<param name="value">The value of the field.</param>
<summary>Creates a new scope variable, using the specified name, value, and attributes.</summary>
<returns>A scope variable that has the specified name, value, and attributes.</returns>
<remarks>To be added.</remarks>
<forInternalUseOnly />
<altmember cref="T:Microsoft.JScript.Block" />
<altmember cref="T:Microsoft.JScript.ActivationObject" />
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.