Microsoft.JScript.VsaItem.SetOption C# (CSharp) 메소드

SetOption() 개인적인 메소드

private SetOption ( String name, Object value ) : void
name String
value Object
리턴 void
      public virtual void SetOption(String name, Object value){
        if (this.engine == null)
          throw new VsaException(VsaError.EngineClosed);
        if (0 == String.Compare(name, "codebase", StringComparison.OrdinalIgnoreCase))
          this.codebase = (string)value;
        else
          throw new VsaException(VsaError.OptionNotSupported);
        this.isDirty = true;
        this.engine.IsDirty = true;
      }