I found this code at CRM 2011: Custom Workflow Activity Output Parameters don´t show and wonder what <string>
does here
entity.Name = AccountName.Get<string>(executionContext);
I found this code at CRM 2011: Custom Workflow Activity Output Parameters don´t show and wonder what <string>
does here
entity.Name = AccountName.Get<string>(executionContext);
它是一个泛型类型参数,可以做几件事。在此处阅读更多信息http://msdn.microsoft.com/en-us/library/0zk36dx2(v=vs.80).aspx
定义参数的<string>
类型,这称为泛型。您可以在此处阅读有关泛型的更多信息(http://msdn.microsoft.com/en-gb/library/512aeb7t(v=vs.80).aspx)