public static SetSwitchKeyProperty ( |
||
ds | ||
switchCase | System.Activities.Presentation.Model.ModelItem | |
return | void |
public static void SetSwitchKeyProperty(Dev2Switch ds, ModelItem switchCase)
{
if(ds != null)
{
ModelProperty keyProperty = switchCase.Properties["Key"];
if(keyProperty != null)
{
keyProperty.SetValue(ds.SwitchVariable);
}
}
}