C# 클래스 Microsoft.Scripting.ScopeVariable

Boxes the value for storage in a scope. Languages or consumers of the scope can save this value and use it to get/set the current value in the scope for commonly accessed values. ScopeVariables are case sensitive and will only refer to a single value.
상속: IScopeVariable, IWeakReferencable
파일 보기 프로젝트 열기: jschementi/iron 1 사용 예제들

공개 메소드들

메소드 설명
DeleteValue ( ) : bool

Removes the current value from the scope.

SetValue ( object value ) : void

Sets the current value in the scope.

TryGetValue ( Object &value ) : bool

Atempts to get the value. If a value is assigned it returns true otherwise it returns false.

비공개 메소드들

메소드 설명
ScopeVariable ( ) : Microsoft.Scripting.Ast

메소드 상세

DeleteValue() 공개 메소드

Removes the current value from the scope.
public DeleteValue ( ) : bool
리턴 bool

SetValue() 공개 메소드

Sets the current value in the scope.
public SetValue ( object value ) : void
value object
리턴 void

TryGetValue() 공개 메소드

Atempts to get the value. If a value is assigned it returns true otherwise it returns false.
public TryGetValue ( Object &value ) : bool
value System.Object
리턴 bool