Creates a new instance of the
DynamicProperty Class.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function New( _
ByVal type As Type, _
ByVal id As String, _
ByVal value As Object _
) |
| Visual Basic (Usage) | Copy Code |
|---|
Dim type As Type
Dim id As String
Dim value As Object
Dim instance As DynamicProperty(type, id, value)
|
| C# | |
|---|
public DynamicProperty(
Type type,
string id,
object value
) |
| Managed Extensions for C++ | |
|---|
public: DynamicProperty(
Type* type,
string* id,
Object* value
) |
| C++/CLI | |
|---|
public:
DynamicProperty(
Type^ type,
String^ id,
Object^ value
) |
Parameters
- type
- The type of the DynamicProperty.
- id
- Identifier of the DynamicProperty.
- value
- Value of the DynamicProperty.
Exceptions
| Exception | Description |
| ArgumentNullException | Id is null or value is null. |
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also