'DeclarationPublic Shared Sub SetComponentBag( _ ByVal element As FrameworkElement, _ ByVal componentBag As ComponentBag _ )
'UsageDim element As FrameworkElement Dim componentBag As ComponentBag Live.SetComponentBag(element, componentBag)
public static void SetComponentBag( FrameworkElement element, ComponentBag componentBag )
public: static void SetComponentBag( FrameworkElement^ element, ComponentBag^ componentBag )
Parameters
- element
 - The element to which the attached property is written.
 - componentBag
 - The needed ComponentBag value.