共用方式為


LocalLocationRatingInfo 類別

定義

包含位置評等資訊。

注意

此 API 不適用於所有 Windows 應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則對此 API 的呼叫會在執行時間失敗。 如需 Windows.Services.Maps.LocalSearch 命名空間的詳細資訊,請與您的 Microsoft 帳戶小組代表合作。

public ref class LocalLocationRatingInfo sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Maps.LocalSearchContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class LocalLocationRatingInfo final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Maps.LocalSearchContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class LocalLocationRatingInfo
Public NotInheritable Class LocalLocationRatingInfo
繼承
Object Platform::Object IInspectable LocalLocationRatingInfo
屬性

Windows 需求

裝置系列
Windows Desktop Extension SDK (已於 10.0.14393.0 引進)
Windows Mobile Extension SDK (已於 10.0.14393.0 引進)
Windows Team Extension SDK (已於 10.0.14393.0 引進)
API contract
Windows.Services.Maps.LocalSearchContract (已於 v3.0 引進)

備註

存取 RatingInfo 屬性會擷取這個類別。

屬性

AggregateRating

取得位置的匯總評等。

注意

此 API 不適用於所有 Windows 應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則對此 API 的呼叫會在執行時間失敗。 如需 Windows.Services.Maps.LocalSearch 命名空間的詳細資訊,請與您的 Microsoft 帳戶小組代表合作。

ProviderIdentifier

取得評等的提供者識別碼。

注意

此 API 不適用於所有 Windows 應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則對此 API 的呼叫會在執行時間失敗。 如需 Windows.Services.Maps.LocalSearch 命名空間的詳細資訊,請與您的 Microsoft 帳戶小組代表合作。

RatingCount

取得這個位置的評等計數。

注意

此 API 不適用於所有 Windows 應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則對此 API 的呼叫會在執行時間失敗。 如需 Windows.Services.Maps.LocalSearch 命名空間的詳細資訊,請與您的 Microsoft 帳戶小組代表合作。

適用於