Partager via


SharedSettingsAttribute Class

Definition

This attribute, when applied to the class returned from the AutomationObject property of a DialogPage subclass, enables the object's properties to be shared with other apps and online.

public ref class SharedSettingsAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class SharedSettingsAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type SharedSettingsAttribute = class
    inherit Attribute
Public NotInheritable Class SharedSettingsAttribute
Inherits Attribute
Inheritance
SharedSettingsAttribute
Attributes

Constructors

SharedSettingsAttribute(String, Boolean)

Initializes a new instance of SharedSettingsAttribute with the specified name.

SharedSettingsAttribute(String, Type)

Initializes a new instance of SharedSettingsAttribute with the specified name.

Applies to