Using an Object Constructor String to Construct a Component
The following example illustrates how to programmatically retrieve and use an object constructor string when a component is instantiated. It shows an implementation of the IObjectConstruct interface that retrieves an object constructor string. The string can then be parsed to set initial values or influence the behavior of the component.
Visual Basic
Implements IObjectConstruct
Private Sub IObjectConstruct_Construct( ByVal pCtorObj As Object )
Dim strConstructorString As String
strConstructorString = pCtorObj.ConstructString
Parse and use strConstructorString here.
End Sub
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for