Megosztás a következőn keresztül:


FirstSignInSettings Class

Definition

Represents a collection of settings that a user can opt-in to during the first run experience.

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)
Inheritance
Object Platform::Object IInspectable FirstSignInSettings
Attributes
Implements
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 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
firstSignInSettings

Properties

Size

Returns the number of elements in the map.

Methods

First()

Returns an iterator for the items in the collection.

GetDefault()

Gets the default instance of the settings.

HasKey(String)

Determines whether the map view contains the specified key.

Lookup(String)

Returns the item in the map view with the specified key.

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

Splits the map view into two views.

Applies to

See also