AmbientValueAttribute Constructor (Type^, String^)
.NET Framework (current version)
Initializes a new instance of the AmbientValueAttribute class, given the value and its type.
Assembly: System (in System.dll)
Parameters
- type
-
Type:
System::Type^
The Type of the value parameter.
- value
-
Type:
System::String^
The value for this attribute.
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.
.NET Framework
Available since 1.1
Available since 1.1
Show: