CompositionHost.Initialize Method (CompositionContainer)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Updated: December 2010
Sets CompositionInitializer to use the specified container.
Namespace: System.ComponentModel.Composition.Hosting
Assembly: System.ComponentModel.Composition.Initialization (in System.ComponentModel.Composition.Initialization.dll)
Syntax
'Declaration
Public Shared Sub Initialize ( _
container As CompositionContainer _
)
public static void Initialize(
CompositionContainer container
)
Parameters
- container
Type: System.ComponentModel.Composition.Hosting.CompositionContainer
The container to use.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | container is nulla null reference (Nothing in Visual Basic). |
InvalidOperationException | This method has already been called. |
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
See Also
Reference
Change History
Date |
History |
Reason |
---|---|---|
December 2010 |
Added exceptions. |
Content bug fix. |