1. Link

Class Link

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Represents a link in a HAL resource.

Inheritance
System.Object
Link
Namespace: Stylelabs.M.Base.Web.Api.Models
Assembly: Stylelabs.M.Sdk.WebClient.dll
public class Link : object

Constructors

Initializes a new instance of the Link class.

Declaration
public Link()

Initializes a new instance of the Link class.

Declaration
public Link(string uri)
Parameters
TypeNameDescription
System.Stringuri

The initial Uri.

Initializes a new instance of the Link class.

Declaration
public Link(string uri, string title)
Parameters
TypeNameDescription
System.Stringuri

The initial Uri.

System.Stringtitle

The initial Title.

Initializes a new instance of the Link class.

Declaration
public Link(string uri, string title, bool templated)
Parameters
TypeNameDescription
System.Stringuri

The initial Uri.

System.Stringtitle

The initial Title.

System.Booleantemplated

The initial value of Template.

Initializes a new instance of the Link class.

Declaration
public Link(string uri, string title, string[] filenameProperties)
Parameters
TypeNameDescription
System.Stringuri

The initial Uri.

System.Stringtitle

The initial Title.

System.String[]filenameProperties

The file properties

Initializes a new instance of the Link class.

Declaration
public Link(Uri uri)
Parameters
TypeNameDescription
Uriuri

The initial Uri.

Initializes a new instance of the Link class.

Declaration
public Link(Uri uri, string title)
Parameters
TypeNameDescription
Uriuri

The initial Uri.

System.Stringtitle

The initial Title.

Initializes a new instance of the Link class.

Declaration
public Link(Uri uri, string title, bool templated)
Parameters
TypeNameDescription
Uriuri

The initial Uri.

System.Stringtitle

The initial Title.

System.Booleantemplated

The initial value of Template.

Properties

Gets or sets the URI that points to the resource this link refers to.

Declaration
public string[] FileNameProperties { get; set; }
Property Value
TypeDescription
System.String[]

The URI.

Gets or sets a value indicating whether the contained URI is a template.

Declaration
public bool Template { get; set; }
Property Value
TypeDescription
System.Boolean

true if the URI is a template; otherwise, false.

Gets or sets the title that describes this link.

Declaration
public string Title { get; set; }
Property Value
TypeDescription
System.String

A descriptive title for this link.

Gets or sets the URI that points to the resource this link refers to.

Declaration
public string Uri { get; set; }
Property Value
TypeDescription
System.String

The URI.

Operators

Declaration
public static implicit operator Link(string uri)
Parameters
TypeNameDescription
System.Stringuri
Returns
TypeDescription
Link
Declaration
public static implicit operator Link(Uri uri)
Parameters
TypeNameDescription
Uriuri
Returns
TypeDescription
Link

Extension Methods

この記事を改善するための提案がある場合は、 お知らせください!