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!

__serializable

Specifies that the garbage-collected class can be serialized.

serializable class-specifier

Remarks

The__ serializable keyword specifies that the state of the specified garbage-collected class can be serialized. To prevent individual data members from serialization, use the __transient keyword.

Note   The __serializable keyword can only be applied to garbage-collected classes.

Example

See the example for __transient.

See Also

Managed Extensions for C++ Keywords | C++ Keywords | Serialization