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

Definición

Crea una nueva variable global, utilizando 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:
 virtual Microsoft::JScript::JSVariableField ^ CreateField(System::String ^ name, System::Reflection::FieldAttributes attributeFlags, System::Object ^ value);
protected virtual Microsoft.JScript.JSVariableField CreateField (string name, System.Reflection.FieldAttributes attributeFlags, object value);
abstract member CreateField : string * System.Reflection.FieldAttributes * obj -> Microsoft.JScript.JSVariableField
override this.CreateField : string * System.Reflection.FieldAttributes * obj -> Microsoft.JScript.JSVariableField
Protected Overridable 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 de un campo. Static se agrega automáticamente.

value
Object

Valor del campo.

Devoluciones

Variable global con el nombre, el valor y los atributos especificados.

Se aplica a

Consulte también