Microsoft.JScript.VsaItem.SetOption C# (CSharp) Méthode

SetOption() private méthode

private SetOption ( String name, Object value ) : void
name String
value Object
Résultat 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;
      }