| Methods / Methods for Custom Attributes | |
Web Services
Removes multiple custom attributes from a custom ID.
public virtual void RemoveCustomAttrs(string customID, string[] namesArray)
| Name | Description |
|---|---|
customID |
|
namesArray |
|
None.
//Sample for using Workflow.RemoveCustomAttr
IWFWorkflowService svc = GetWorkflowService();
string customID = ...// for example,
"InfoPath:011eaf6c46ac4723b25b4db5772d9912"
// array of attribute name, for example,
// new string[] { // "//pd:purchaseOrder/pd:secondApproval", ... };
string[] namesArray = ...
try
{
svc.RemoveCustomAttrs(customID, namesArray);
}
catch (Exception ex)
{
Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
}
3.2.0.4 and higher