ActivationObject.CreateField(String, FieldAttributes, Object) 메서드

정의

지정된 이름, 값 및 특성을 사용하여 새 전역 변수를 만듭니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

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

매개 변수

name
String

@FSHO2@필드의 이름입니다.

attributeFlags
FieldAttributes

필드의 특성을 설명하는 열거형 값의 비트 조합입니다. Static 가 자동으로 추가됩니다.

value
Object

필드의 값

반품

지정된 이름, 값 및 특성이 있는 전역 변수입니다.

적용 대상

추가 정보