MIGetContentString() function - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
ft:locale
en-US
Product name
MapBasic
ft:title
MapInfo MapBasic Reference
First publish date
1985
ft:lastEdition
2023-09-12
ft:lastPublication
2023-09-12T16:32:32.686000

Purpose

Gets the content in the format of string.

Syntax

MIGetContentString( ByVal hContent As CString ) As String

hContent s a CString handle.

Return Value

A string that contains the content of the file. To determine the cause of the failure if an empty string is returned, call the MIGetErrorMessage() function.

Description

Use this function to get the content of the file in string format.