GetAsFileOrWebPage Method (IHyperLink) Send Feedback
See Also 
Result[out]
True if successful, false if not
Destination[out]
URL of the web page or the path and file name of a file
Sublocation[out]
URL of the web page or the path and file name of the file, if the web page or file exists
Gets the URL of the web page or the path and file name of the file for the hyperlink.

Syntax

Visual Basic 
Function GetAsFileOrWebPage( _
   ByRef Destination As System.String, _
   ByRef Sublocation As System.String _
) As System.Boolean
C# 
System.bool GetAsFileOrWebPage( 
   out System.string Destination,
   out System.string Sublocation
)
JavaScript 
GetAsFileOrWebPage(
) : {
   Destination : String,
   Sublocation : String,
   Result : Boolean
}
COM native C++ 
HRESULT GetAsFileOrWebPage( 
   BSTR* Destination,
   BSTR* Sublocation,
   VARIANT_BOOL* Result
) 
C++ 
DSRESULT GetAsFileOrWebPage( 
   dsString* Destination,
   dsString* Sublocation,
   bool* Result
) 

Parameters

Destination[out]
URL of the web page or the path and file name of a file
Sublocation[out]
URL of the web page or the path and file name of the file, if the web page or file exists
Result[out] or Return Value
True if successful, false if not

Remarks

This method is valid only if IHyperLink::GetType is dsHyperLinkType_e.dsHyperLinkType_FileOrWebPage.
 

See Also

Availability

DraftSight V1R1.3