ParamValue.Name Property
.NET Standard 2.x
Gets the name of the parameter.
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
public string Name { get; }
Property Value
System.String
The name of the parameter.
Examples
The following code example gets the name of the ParamValue object.
using SnapObjects.Data;
using System;
namespace Appeon.ApiDoc.ParamValueExamples
{
public class NameExample
{
private readonly SchoolContext _context;
public NameExample(SchoolContext context)
{
_context = context;
}
public void Example()
{
string data1 = "Economics";
var param = ParamValue.New("param1", data1);
// Gets and shows the name of the ParamValue object
Console.WriteLine("ParamValue.Name = {0}", param.Name);
/*This code produces the following output:
ParamValue.Name = param1
*/
}
}
}
Applies to
.NET Standard
2.x