For the specified object or file, gets a link to a web page that is used to open the item in the preferred M-Files client.
| Visual Basic | 
|---|
Public Function GetLinkURLForObjectOrFile( _ ByVal ObjOrFileVer As ObjOrFileVer, _ Optional ByVal SpecificVersion As Boolean = False, _ Optional ByVal URLType As MFilesURLType = MFilesURLTypeShow _ ) As String  | 
| Value | Description | 
|---|---|
| MFilesURLTypeEdit | Specifies an URL for performing the open-for-edit action for the target file. | 
| MFilesURLTypeOpen | Specifies an URL for performing the default open action for the target file. | 
| MFilesURLTypeShow | Specifies an URL for showing the object version. The URL does not open the target file. | 
| MFilesURLTypeShowMetadata | Specifies an URL for showing the metadata card for the target object. | 
| MFilesURLTypeView | Specifies an URL for performing the read-only open action for the target file. |