Skip to content

Commit 534b056

Browse files
authored
Merge pull request #379 from NetOfficeFw/dev/376_fix_CorePropertySetExtensions
Fix bug when calling the `CorePropertySetExtensions.ExecutePropertySet()` methods
2 parents 33392d7 + 266b212 commit 534b056

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+76
-76
lines changed

Source/ADODB/DispatchInterfaces/Recordset15.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ public object get_Collect(object index)
455455
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
456456
public void set_Collect(object index, object value)
457457
{
458-
Factory.ExecutePropertySet(this, "Collect", index, value);
458+
Factory.ExecutePropertySet(this, "Collect", value, index);
459459
}
460460

461461
/// <summary>

Source/ADODB/DispatchInterfaces/Recordset15_Deprecated.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ public object get_Collect(object index)
455455
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
456456
public void set_Collect(object index, object value)
457457
{
458-
Factory.ExecutePropertySet(this, "Collect", index, value);
458+
Factory.ExecutePropertySet(this, "Collect", value, index);
459459
}
460460

461461
/// <summary>

Source/ADODB/DispatchInterfaces/Recordset21.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ public object get_Collect(object index)
468468
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
469469
public void set_Collect(object index, object value)
470470
{
471-
Factory.ExecutePropertySet(this, "Collect", index, value);
471+
Factory.ExecutePropertySet(this, "Collect", value, index);
472472
}
473473

474474
/// <summary>

Source/ADODB/DispatchInterfaces/Recordset21_Deprecated.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public object get_Collect(object index)
141141
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
142142
public void set_Collect(object index, object value)
143143
{
144-
Factory.ExecutePropertySet(this, "Collect", index, value);
144+
Factory.ExecutePropertySet(this, "Collect", value, index);
145145
}
146146

147147
/// <summary>

Source/ADODB/DispatchInterfaces/_Recordset.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ public object get_Collect(object index)
468468
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
469469
public void set_Collect(object index, object value)
470470
{
471-
Factory.ExecutePropertySet(this, "Collect", index, value);
471+
Factory.ExecutePropertySet(this, "Collect", value, index);
472472
}
473473

474474
/// <summary>

Source/Access/DispatchInterfaces/_Combobox.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2461,7 +2461,7 @@ public Int32 get_Selected(Int32 lRow)
24612461
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
24622462
public void set_Selected(Int32 lRow, Int32 value)
24632463
{
2464-
Factory.ExecutePropertySet(this, "Selected", lRow, value);
2464+
Factory.ExecutePropertySet(this, "Selected", value, lRow);
24652465
}
24662466

24672467
/// <summary>

Source/Access/DispatchInterfaces/_Control.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public Int32 get_Selected(Int32 lRow)
210210
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
211211
public void set_Selected(Int32 lRow, Int32 value)
212212
{
213-
Factory.ExecutePropertySet(this, "Selected", lRow, value);
213+
Factory.ExecutePropertySet(this, "Selected", value, lRow);
214214
}
215215

216216
/// <summary>

Source/Access/DispatchInterfaces/_ListBox.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public Int32 get_Selected(Int32 lRow)
210210
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
211211
public void set_Selected(Int32 lRow, Int32 value)
212212
{
213-
Factory.ExecutePropertySet(this, "Selected", lRow, value);
213+
Factory.ExecutePropertySet(this, "Selected", value, lRow);
214214
}
215215

216216
/// <summary>

Source/DAO/DispatchInterfaces/Recordset.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ public object get_Collect(object item)
565565
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
566566
public void set_Collect(object item, object value)
567567
{
568-
Factory.ExecutePropertySet(this, "Collect", item, value);
568+
Factory.ExecutePropertySet(this, "Collect", value, item);
569569
}
570570

571571
/// <summary>

Source/Excel/DispatchInterfaces/AutoCorrect.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public object get_ReplacementList(object index)
100100
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
101101
public void set_ReplacementList(object index, object value)
102102
{
103-
Factory.ExecutePropertySet(this, "ReplacementList", index, value);
103+
Factory.ExecutePropertySet(this, "ReplacementList", value, index);
104104
}
105105

106106
/// <summary>

0 commit comments

Comments
 (0)