Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# ISelectionListProperty.SetSelectionList Method

Sets the selection list associated with this property.

void SetSelectionList(
ISelectionList selectionList
);

#### Parameters

selectionList
  An existing selection list associated with this property; cannot be `null`.

#### Remarks

The new value will not be properly persisted until this property is added to a Data Entry Template and `IDataEntryTemplate.Store` is called on that Data Entry Template. The selection list has to be persisted prior to calling this method otherwise an `InvalidOperationException` will be thrown when `IDataEntryTemplate.Store` is called on the Data Entry Template that contains this selection list property.

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationException | The selection list has not yet been persisted or has already been removed.

#### See Also

ISelectionListProperty Interface | Plumtree.Remote.PRC.Content.Property Namespace