FirstSignInSettings 类

定义

表示用户可以在首次运行体验期间选择加入的设置的集合。

public ref class FirstSignInSettings sealed : IIterable<IKeyValuePair<Platform::String ^, Platform::Object ^> ^>, IMapView<Platform::String ^, Platform::Object ^>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class FirstSignInSettings final : IIterable<IKeyValuePair<winrt::hstring, IInspectable const&>>, IMapView<winrt::hstring, IInspectable const&>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class FirstSignInSettings : IEnumerable<KeyValuePair<string,object>>, IReadOnlyDictionary<string,object>
Public NotInheritable Class FirstSignInSettings
Implements IEnumerable(Of KeyValuePair(Of String, Object)), IReadOnlyDictionary(Of String, Object)
继承
Object Platform::Object IInspectable FirstSignInSettings
属性
实现
IIterable<IKeyValuePair<K,V>> IEnumerable<KeyValuePair<K,V>> IEnumerable<KeyValuePair<String,Object>> IIterable<IKeyValuePair<Platform::String,Platform::Object>> IIterable<IKeyValuePair<winrt::hstring,IInspectable>> IReadOnlyDictionary<String,Object> IMapView<Platform::String,Platform::Object> IMapView<winrt::hstring,IInspectable>

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
firstSignInSettings

属性

Size

返回映射中的元素数量。

方法

First()

返回集合中项的迭代器。

GetDefault()

获取设置的默认实例。

HasKey(String)

确定地图视图是否包含指定的键。

Lookup(String)

返回地图视图中具有指定键的项。

Split(IMapView<String,Object>, IMapView<String,Object>)

将地图视图拆分为两个视图。

适用于

另请参阅