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

Name

Description

BufferSize

A positive 32-bit integer value greater than 0 indicating the buffer size

ComponentClassName

ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)

ComponentMembers

ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)

ComponentPatternName

ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)

ComponentTag

Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)

ComponentType

ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)

ComponentTypeName

ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)

FileAccess

A constant that determines how the file can be accessed by the FileStream object

FileMode

A constant that determines how to open or create the file

FileShare

A constant that determines how the file will be shared by processes

Length

Gets or sets the length in bytes of the stream Inherited from Stream base class (PRIM_IOC.Stream)

Name

Name identifies the component Inherited from Object (PRIM_OBJT)

Owner

Owner owns this component Inherited from Object (PRIM_OBJT)

Parent

The 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)

Path

A relative or absolute path for the file that the current FileStream object will encapsulate

Position

Gets or sets the position within the current stream Inherited from Stream base class (PRIM_IOC.Stream)

Events

Name

Description

CreateInstance

CreateInstance is signalled when an instance of a component is created Inherited from Stream base class (PRIM_IOC.Stream)

DestroyInstance

DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Stream base class (PRIM_IOC.Stream)

ReportMessage

Event signalled when an exception is caught and supplies a message reporting the error Inherited from Stream base class (PRIM_IOC.Stream)

Message

Methods

Name

Description

WriteBase64String

Converts 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

WriteBytes

Method to write an array of bytes to the current stream Inherited from Stream base class (PRIM_IOC.Stream)

Bytes

WriteChars

Method 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

  • No labels