This interface is implemented by classes that want be dynamically extensible.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Interface IDynamicExtensible |
| C# | |
|---|
public interface IDynamicExtensible |
| Managed Extensions for C++ | |
|---|
public __gc __interface IDynamicExtensible |
| C++/CLI | |
|---|
public interface class IDynamicExtensible |
Example
The following example shows how to implement the interface.
| C# | Copy Code |
|---|
[Persistent("USER")] public class User : IDynamicExtensible { private IDictionary<string, object> _unknownFields = new Dictionary<string, object>(); public IDictionary<string, object> UnknownFields { get { return _unknownFields; } } // ... Other properties of the persistent object. } |
Remarks
Requirements
Namespace: Chili.Opf3
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Chili.Opf3 (in Chili.Opf3.dll)
See Also