Constructs a property set statement. This represents a single property set inside of a method.
[Visual Basic] Function CreatePropertySetStatement( _ ByVal target() As String, _ ByVal targetType As ICodeClass, _ ByVal propertyName As String, _ ByVal neededPropType As ICodeClass, _ ByVal value As Object, _ ByVal reference As Boolean, _ ByVal designTime As Boolean _ ) As ICodePropertySetStatement [C#] ICodePropertySetStatement CreatePropertySetStatement( string[] target, ICodeClass targetType, string propertyName, ICodeClass neededPropType, object value, bool reference, bool designTime ); [C++] ICodePropertySetStatement* CreatePropertySetStatement( String* target[], ICodeClass* targetType, String* propertyName, ICodeClass* neededPropType, Object* value, bool reference, bool designTime ) = 0; [JScript] function CreatePropertySetStatement( target : String[], targetType : ICodeClass, propertyName : String, neededPropType : ICodeClass, value : Object, reference : Boolean, designTime : Boolean ) : ICodePropertySetStatement;
Panel1.Children.Items myControlArray
You would need to pass in a string array that contained "Panel1" and "Children".
The newly created code property set.
ICodeSourceFile Interface | ICodeSourceFile Members | System.ComponentModel.Design.CodeModel Namespace | ICodeArrayCreateExpression | ICodeObjectCreateExpression | ICodeMethodInvokeExpression | ICodeNameReferenceExpression