Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AmbientValueAttribute Constructor

.NET Framework 1.1

Initializes a new instance of the AmbientValueAttribute class.

Overload List

Initializes a new instance of the AmbientValueAttribute class, given a Boolean value for its value.

[Visual Basic] Public Sub New(Boolean)
[C#] public AmbientValueAttribute(bool);
[C++] public: AmbientValueAttribute(bool);
[JScript] public function AmbientValueAttribute(Boolean);

Initializes a new instance of the AmbientValueAttribute class, given an 8-bit unsigned integer for its value.

[Visual Basic] Public Sub New(Byte)
[C#] public AmbientValueAttribute(byte);
[C++] public: AmbientValueAttribute(unsigned char);
[JScript] public function AmbientValueAttribute(Byte);

Initializes a new instance of the AmbientValueAttribute class, given a Unicode character for its value.

[Visual Basic] Public Sub New(Char)
[C#] public AmbientValueAttribute(char);
[C++] public: AmbientValueAttribute(__wchar_t);
[JScript] public function AmbientValueAttribute(Char);

Initializes a new instance of the AmbientValueAttribute class, given a double-precision floating-point number for its value.

[Visual Basic] Public Sub New(Double)
[C#] public AmbientValueAttribute(double);
[C++] public: AmbientValueAttribute(double);
[JScript] public function AmbientValueAttribute(double);

Initializes a new instance of the AmbientValueAttribute class, given a 16-bit signed integer for its value.

[Visual Basic] Public Sub New(Short)
[C#] public AmbientValueAttribute(short);
[C++] public: AmbientValueAttribute(short);
[JScript] public function AmbientValueAttribute(Int16);

Initializes a new instance of the AmbientValueAttribute class, given a 32-bit signed integer for its value.

[Visual Basic] Public Sub New(Integer)
[C#] public AmbientValueAttribute(int);
[C++] public: AmbientValueAttribute(int);
[JScript] public function AmbientValueAttribute(int);

Initializes a new instance of the AmbientValueAttribute class, given a 64-bit signed integer for its value.

[Visual Basic] Public Sub New(Long)
[C#] public AmbientValueAttribute(long);
[C++] public: AmbientValueAttribute(__int64);
[JScript] public function AmbientValueAttribute(long);

Initializes a new instance of the AmbientValueAttribute class, given an object for its value.

[Visual Basic] Public Sub New(Object)
[C#] public AmbientValueAttribute(object);
[C++] public: AmbientValueAttribute(Object*);
[JScript] public function AmbientValueAttribute(Object);

Initializes a new instance of the AmbientValueAttribute class, given a single-precision floating point number for its value.

[Visual Basic] Public Sub New(Single)
[C#] public AmbientValueAttribute(float);
[C++] public: AmbientValueAttribute(float);
[JScript] public function AmbientValueAttribute(float);

Initializes a new instance of the AmbientValueAttribute class, given a string for its value.

[Visual Basic] Public Sub New(String)
[C#] public AmbientValueAttribute(string);
[C++] public: AmbientValueAttribute(String*);
[JScript] public function AmbientValueAttribute(String);

Initializes a new instance of the AmbientValueAttribute class, given the value and its type.

[Visual Basic] Public Sub New(Type, String)
[C#] public AmbientValueAttribute(Type, string);
[C++] public: AmbientValueAttribute(Type*, String*);
[JScript] public function AmbientValueAttribute(Type, String);

See Also

AmbientValueAttribute Class | AmbientValueAttribute Members | System.ComponentModel Namespace

Show:
© 2015 Microsoft