Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

multiple lines in string c# parameterized

//Requires C# 6.0
string camlCondition = $@"
<Where>
    <Contains>
        <FieldRef Name='Resource'/>
        <Value Type='Text'>{(string)parameter}</Value>
    </Contains>
</Where>";
 
PREVIOUS NEXT
Tagged: #multiple #lines #string #parameterized
ADD COMMENT
Topic
Name
2+3 =