共用方式為


Deployment.OutOfBrowserSettings Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets an object that contains information about the application that is used for out-of-browser support.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public ReadOnly Property OutOfBrowserSettings As OutOfBrowserSettings
public OutOfBrowserSettings OutOfBrowserSettings { get; }
<Deployment xmlns="https://schemas.microsoft.com/client/2007/deployment">
  <Deployment.OutOfBrowserSettings>
    singleOutOfBrowserSettingsElement
  </Deployment.OutOfBrowserSettings>
</Deployment>

XAML Values

Property Value

Type: System.Windows.OutOfBrowserSettings
Information about the application that is used for out-of-browser support.

Remarks

Dependency property identifier field: OutOfBrowserSettingsProperty

Visual Studio provides designer support for specifying out-of-browser settings. The values specified in the designer are stored in the OutOfBrowserSettings.xml file in the Properties (C#) or My Project (Visual Basic) folder. The build uses these values to populate the application manifest (AppManifest.xaml). As an alternative to using the designer, you can specify values in the manifest template (AppManifest.xml in the Properties (C#) or My Project (Visual Basic) folder). You can also generate the application manifest yourself and add it to the application package. For more information, see How to: Configure an Application for Out-of-Browser Support.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.