Espacio de nombres: CodiumSDK.CPL.HTMLTags
Ensamblado: CodiumSDK.dll

Class that represent a “link” tag. The link tag defines the relationship between the current document and an external resource.
C#
public class Link : CodiumSDK.CPL.HTMLTagBase

Métodos

NombreDescripción
GetAttribute(name)Get Attribute

Constructores

NombreDescripción
Link()Link
Link(program, crossorigin, href, media, type, rel, sizes, style, className, id, title)Constructor for link

GetAttribute(name)

Get Attribute
C#
public CodiumSDK.CPL.HTMLAttribute GetAttribute(System.String name);

Regresa

CodiumSDK.CPL.HTMLAttribute

Parámetros

NombreTipoDescripción
nameSystem.StringName of the Atrribute

Link()

Link
C#
public Link();

Link(program, crossorigin, href, media, type, rel, sizes, style, className, id, title)

Constructor for link
C#
public Link(CodiumSDK.CPL.ProgramDefinition program, CodiumSDK.CPL.HTMLTags.Script.Crossorigin crossorigin, System.String href, System.String media, System.String type, CodiumSDK.CPL.HTMLTags.Link.Rel rel, System.String sizes, System.String style, System.String className, System.String id, System.String title);

Parámetros

NombreTipoDescripción
programCodiumSDK.CPL.ProgramDefinitionProgram Definition
crossoriginCodiumSDK.CPL.HTMLTags.Script.CrossoriginSpecifies how the element handles cross-origin requests
hrefSystem.StringSpecifies the location of the linked document
mediaSystem.StringSpecifies on what device the linked document will be displayed
typeSystem.StringSpecifies the media type of the linked document
relCodiumSDK.CPL.HTMLTags.Link.RelRequired. Specifies the relationship between the current document and the linked document
sizesSystem.StringSpecifies the size of the linked resource. Only for rel="icon"
styleSystem.StringSpecifies an inline CSS style for an element
classNameSystem.StringSpecifies one or more classnames for an element (refers to a class in a style sheet)
idSystem.StringSpecifies a unique id for an element
titleSystem.StringSpecifies extra information about an element