StreamingFormat Enum

From RemObjects Software

Jump to: navigation, search

This is a RemObjects SDK Architecture entry
Feel free to add your notes to this topic below.



Overview

This enumeration is used to define the exact streaming format for elements of complex types where the format cannot be inferred through reflection.

For example, System.String types could be streamed as ANSI, UTF-8 or Unicode strings, depending on how they were defined in the RODL; Object type properties might be streamed as Variants.

Namespace

Declaration (C#)

public enum StreamingFormat
{
    Default = 0,
    WideString = 1,
    AnsiString = 2,
    Utf8String = 3,
    Variant = 4,
    Currency = 5,
    Decimal = 6
}

Members

Member
Description
Default The property will be streamed using its default representation.

This is also the default behavior if no StreamingFormat attribute is attached.

WideString The (string) property will be streamed un-encoded as a full UTF-16 wide string.
AnsiString The (string) property will be streamed encoded as an 8 bit ANSI string using the system's ANSI code page.
Utf8String The (string) property will be streamed encoded as an UTF-8 string.
Variant The property will be streamed as a Variant type.
Currency The property will be streamed as a Currency type.
Decimal The property will be streamed as a Decimal type.


See Also


Product: RemObjects SDK
Current version: RemObjects SDK 'Vinci' (5.0)

ListsGlossaryFeaturesHow ToComponentsToolsSamplesArticlesArchitectureIssues

Personal tools