GetFileNameColor

Method of IApplication

Returns color associated with provided file name

Return Value

JavaScript

var pColor = Application.GetFileNameColor(strPathName);

Visual Basic Script

pColor = Application.GetFileNameColor strPathName

C++

OLE_COLOR Color;
HRESULT hr = Application.GetFileNameColor(strPathName, &Color);