BlockScope.CreateField(String, FieldAttributes, Object) Método

Definición

Crea una nueva variable de ámbito con el nombre, el valor y los atributos especificados.

Esta API admite la infraestructura de producto y no está pensada para usarse directamente en el código.

protected:
 override Microsoft::JScript::JSVariableField ^ CreateField(System::String ^ name, System::Reflection::FieldAttributes attributeFlags, System::Object ^ value);
protected override Microsoft.JScript.JSVariableField CreateField(string name, System.Reflection.FieldAttributes attributeFlags, object value);
override this.CreateField : string * System.Reflection.FieldAttributes * obj -> Microsoft.JScript.JSVariableField
Protected Overrides Function CreateField (name As String, attributeFlags As FieldAttributes, value As Object) As JSVariableField

Parámetros

name
String

Nombre del campo.

attributeFlags
FieldAttributes

Combinación bit a bit de los valores de enumeración que describen los atributos del campo.

value
Object

El valor del campo .

Devoluciones

Variable de ámbito que tiene el nombre, el valor y los atributos especificados.

Se aplica a

Consulte también