WpQueryType: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpQueryType}} This instance method is **called to allow the object to query the type of its file**. ==Syntax== _wpQueryType(somSelf) ==Parameters== ;''somSelf'' (WPFileSystem *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPFileSystem. ==Returns== ;''ptype'' (PSZ) - returns :A **pointer to a buffer containing the file type**. :This string can contain a list of types delineated by a line..." |
(No difference)
|
Revision as of 23:55, 1 September 2025
This instance method is **called to allow the object to query the type of its file**.
Syntax
_wpQueryType(somSelf)
Parameters
- somSelf (WPFileSystem *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPFileSystem.
Returns
- ptype (PSZ) - returns
- A **pointer to a buffer containing the file type**.
- This string can contain a list of types delineated by a line-feed character; for example, "Plain Text\nC Code".
Remarks
This method returns the type of a file-system-based object. The type of a file is designated by its **.TYPE extended attribute value**.
Usage
This method can be **called at any time in order to determine the type of the file object**.
How to Override
This method is **generally not overridden**.
Example Code
There is no explicit example code provided for this method in the sources.