IdeaBlade.Core Assembly > IdeaBlade.Core.Composition Namespace > CompositionContext Class : GetByName Method |
'Declaration
Public Shared Function GetByName( _ ByVal compositionContextName As String _ ) As CompositionContext
'Usage
Dim compositionContextName As String Dim value As CompositionContext value = CompositionContext.GetByName(compositionContextName)
public static CompositionContext GetByName( string compositionContextName )
Exception | Description |
---|---|
IdeaBlade.Core.IdeaBladeException | Thrown if a CompositionContext with the specified name is not found |
If the compositionContextName passed to this method is null or an empty string, the standard Default composition context is returned.
An exception is thrown if the name cannot be resolved.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2