Table of Contents

Class Location

Namespace
Twikit
Assembly
Twikit.dll

トレンドを取得できる地域。

public sealed class Location : IEquatable<Location>
Inheritance
Location
Implements
Inherited Members

Constructors

Location(Client, JsonObject)

public Location(Client client, JsonObject data)

Parameters

client Client
data JsonObject

Properties

Country

public string? Country { get; }

Property Value

string

CountryCode

public string? CountryCode { get; }

Property Value

string

Name

public string Name { get; }

Property Value

string

ParentId

public long? ParentId { get; }

Property Value

long?

PlaceType

public JsonObject? PlaceType { get; }

Property Value

JsonObject

Url

public string? Url { get; }

Property Value

string

Woeid

public long Woeid { get; }

Property Value

long

Methods

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Equals(Location?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Location? other)

Parameters

other Location

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetTrendsAsync()

この地域のトレンドを取得します。

public Task<PlaceTrends> GetTrendsAsync()

Returns

Task<PlaceTrends>

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.