AmbientValueAttribute Constructor (Type, String)
Initializes a new instance of the AmbientValueAttribute class, given the value and its type.
Assembly: System (in System.dll)
The following code example demonstrates using AmbientValueAttribute to enforce ambient behavior for a property called AlertForeColor. For a full code listing, see How to: Apply Attributes in Windows Forms Controls.