NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Value Type Definition

Not all types defined by a class definition are object types (see Classes, Interfaces and Objects); in particular, value types are not object types but they are defined using a class definition. A class definition for a value type defines both the (unboxed) value type and the associated boxed type (see Boxing and Unboxing of Values). The members of the class definition define the representation of both:

Note: In PDC boxed value types don’t exist as independent types. Therefore, instance methods on value types receive a this pointer that is a managed pointer to the unboxed type whereas virtual methods (including those on interfaces implemented by the value type) receive an instance of the boxed type.