Saturday, 15 September 2012

Guidance with a translation in Linq to Xml -


Does anyone explain why it means:

  .... An example of the  

parameter should be known as please.

It has also been found to be a bit tricky naming (function selector)

this question. Suggestions would also be appreciated.

This is a function that takes excelment as argument and returns an XElement, hence the example To:

  Public XElement Some functions (excel logic) {XElement someNewElement = New XElement (); ... // Do something with something, withdraw account logic, something newElement; } Fx & lt; XElement, XElement & gt; VariableForFunction = Some Functions; ..... Select (variableform);  

I'm not sure that you have to specify it in the first one variable, then you might do this:

  .... (VariableForFunction);  

Give it a try (and tell me it works :) :)

For more information, here is the MSDN, it also states that How to use Representatives:

function & lt; XElement, XElement & gt; VariableForFunction = Representative (excel logic) {.... // Create a new XElement Return NewxAlert; }

For example, how to use Lambda:

function

Or, in this example, use the lambda directly:

  .... Select (s => {.... ; / /> 


No comments:

Post a Comment