Click or drag to resize

UrlHelperGetObjectUrl Method

Generates a url pointing to an object for the specified platform.

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public static string GetObjectUrl(
	ObjVerEx objVerEx,
	UrlTargetPlatform platform = UrlTargetPlatform.Desktop,
	bool specificVersion = false,
	MFilesURLType urlType = MFilesURLType.MFilesURLTypeShow
)

Parameters

objVerEx
Type: MFiles.VAF.CommonObjVerEx
The object to which the url should point.
platform (Optional)
Type: MFiles.VAF.CommonUrlTargetPlatform
The platform the url should target.
specificVersion (Optional)
Type: SystemBoolean
Indicates whether the url should point to this specific version, or the latest version of the object.
urlType (Optional)
Type: MFilesURLType
The type of url to create. (Web type is always show)

Return Value

Type: String
URL string.
See Also