PRIM_IOC.FileStream (PRIM_IOC.FileStream)

Provides a Stream for a file, supporting both read and write operations

Ancestors - Stream base class (PRIM_IOC.Stream) Object (PRIM_OBJT)

Details

No detailed help is available for this feature

Properties

NameDescription
BufferSizeA positive 32-bit integer value greater than 0 indicating the buffer size
ComponentClassNameComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembersComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternNameComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTagGeneric space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentTypeComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeNameComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
FileAccessA constant that determines how the file can be accessed by the FileStream object
FileModeA constant that determines how to open or create the file
FileShareA constant that determines how the file will be shared by processes
LengthGets or sets the length in bytes of the stream Inherited from Stream base class (PRIM_IOC.Stream)
NameName identifies the component Inherited from Object (PRIM_OBJT)
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
ParentThe component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT)
PathA relative or absolute path for the file that the current FileStream object will encapsulate
PositionGets or sets the position within the current stream Inherited from Stream base class (PRIM_IOC.Stream)

Events

NameDescription
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from Stream base class (PRIM_IOC.Stream)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Stream base class (PRIM_IOC.Stream)
ReportMessageEvent signalled when an exception is caught and supplies a message reporting the error Inherited from Stream base class (PRIM_IOC.Stream)
Message

Methods

NameDescription
WriteBase64StringConverts supplied Base64 encoded unicode string to a byte array and writes the byte array to the current stream Inherited from Stream base class (PRIM_IOC.Stream)
Base64String, UrlEncoding
WriteBytesMethod to write an array of bytes to the current stream Inherited from Stream base class (PRIM_IOC.Stream)
Bytes
WriteCharsMethod to write an array of unicode characters to the current stream Inherited from Stream base class (PRIM_IOC.Stream)
Chars, Encoding

See also

All Component Classes

Technical Reference