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;
      }