URL.protocol Property

Parent Object: URL
Defined in namespace "adsk::core" and the header file is <Core/Application/URL.h>

Description

Get the protocol scheme of the URL, including the final ':'.

Syntax

"uRL_var" is a variable referencing a URL object.

# Get the value of the property.
propertyValue = uRL_var.protocol
"uRL_var" is a variable referencing a URL object.
#include <Core/Application/URL.h>

// Get the value of the property.
string propertyValue = uRL_var->protocol();

Property Value

This is a read only property whose value is a string.

Version

Introduced in version April 2023