VCOM:VectorWorks:Filing:IFolderIdentifier::GetAttributes
.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference
Description
namespace VectorWorks::Filing
Member of VCOM:VectorWorks:Filing:IFolderIdentifier
Return the attributes of this folder.
virtual VCOMError VCOM_CALLTYPE GetAttributes(
SAttributes& outAttributes) = 0;
Parameters
outAttributes SAttributes& Output parameter. Returns the attributes set for this folder.
Return Value
Uses standard VCOM Error Reporting.
Return value meaning:
kVCOMError_NotInitialized Bad VCOM instance used to call the fuction. kVCOMError_Failed The function failed. That may be because there is no path set to the instance. Or because it failed obtaining the attributes of the folder. kVCOMError_FileNotFound This folder does not exist on disk.
Remarks
The attributes are obtained inside the structure:
struct SAttributes { bool fbReadOnly; bool fbHidden; bool fbSystem; bool fbTemporary; bool fbEncrypted; bool fbArchive; bool fbDirectory; bool fbCanRead; bool fbCanWrite; bool fbCanExecute; bool fbCanBrowse; };
See Also
VCOM:VectorWorks:Filing:IFolderIdentifier
[[VCOM:VectorWorks:Filing:IFolderIdentifier]]