View Source
Class ApiLink
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public sealed class ApiLink
Properties
View Source
DestinationId
Declaration
public Guid? DestinationId { get; }
Property Value
Type |
Description |
System.Nullable<Guid> |
|
View Source
DestinationType
Declaration
public string DestinationType { get; }
Property Value
Type |
Description |
System.String |
|
View Source
LinkType
Declaration
public LinkType LinkType { get; }
Property Value
View Source
QueryString
Declaration
public string QueryString { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Route
Declaration
public IApiContentRoute Route { get; }
Property Value
View Source
Target
Declaration
public string Target { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Title
Declaration
public string Title { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Url
Declaration
public string Url { get; }
Property Value
Type |
Description |
System.String |
|
Methods
View Source
Content(String, String, String, Guid, String, IApiContentRoute)
Declaration
public static ApiLink Content(string title, string queryString, string target, Guid destinationId, string destinationType, IApiContentRoute route)
Parameters
Type |
Name |
Description |
System.String |
title |
|
System.String |
queryString |
|
System.String |
target |
|
Guid |
destinationId |
|
System.String |
destinationType |
|
IApiContentRoute |
route |
|
Returns
View Source
External(String, String, String, String)
Declaration
public static ApiLink External(string title, string url, string queryString, string target)
Parameters
Type |
Name |
Description |
System.String |
title |
|
System.String |
url |
|
System.String |
queryString |
|
System.String |
target |
|
Returns
View Source
Declaration
public static ApiLink Media(string title, string url, string queryString, string target, Guid destinationId, string destinationType)
Parameters
Type |
Name |
Description |
System.String |
title |
|
System.String |
url |
|
System.String |
queryString |
|
System.String |
target |
|
Guid |
destinationId |
|
System.String |
destinationType |
|
Returns