Checks if folder is inside doc or temp folder as specified in origPath.
'Declaration
Public Function IsFolderSafeToOpen( _
ByVal As System.String _
) As System.Boolean
'Usage
Dim instance As ApplicationConfig
Dim origPath As System.String
Dim value As System.Boolean
value = instance.IsFolderSafeToOpen(origPath)
public System.bool IsFolderSafeToOpen(
System.string
)
public function IsFolderSafeToOpen(
: System.String
): System.Boolean;
public function IsFolderSafeToOpen(
: System.String
) : System.boolean;
public: System.bool IsFolderSafeToOpen(
System.string*
)
public:
System.bool IsFolderSafeToOpen(
System.String^
)
Parameters
- origPath
- Path to check.
Return Value
True if the path can be opened in origPath false otherwise.