BlockScope.CreateField(String, FieldAttributes, Object) 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用指定的名称、值和特性创建一个新范围变量。
此 API 支持产品基础结构,不能在代码中直接使用。
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
	参数
- name
 - String
 
字段的名称。
- attributeFlags
 - FieldAttributes
 
枚举值的一个按位组合,这些枚举值描述字段的特性。
- value
 - Object
 
字段的值。
返回
具有指定名称、值和特性的范围变量。