The Labs \ Source Viewer \ SSCLI \ System.ComponentModel.Design \ IDesignerOptionService

  1. //------------------------------------------------------------------------------
  2. // <copyright file="IDesignerOptionService.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. /*
  16. */
  17. namespace System.ComponentModel.Design
  18. {
  19.     using System.ComponentModel;
  20.    
  21.     using System.Diagnostics;
  22.    
  23.     /// <devdoc>
  24.     /// <para>
  25.     /// Provides access
  26.     /// to get and set option values for a designer.
  27.     /// </para>
  28.     /// </devdoc>
  29.     public interface IDesignerOptionService
  30.     {
  31.        
  32.         /// <devdoc>
  33.         /// <para>Gets the value of an option defined in this package.</para>
  34.         /// </devdoc>
  35.         object GetOptionValue(string pageName, string valueName);
  36.        
  37.         /// <devdoc>
  38.         /// <para>Sets the value of an option defined in this package.</para>
  39.         /// </devdoc>
  40.         void SetOptionValue(string pageName, string valueName, object value);
  41.     }
  42. }

Developer Fusion