Show / Hide Table of Contents

    ParamValue.Value Property

    .NET Standard 2.x

    Gets the value of the parameter.

    Namespace: SnapObjects.Data

    Assembly: SnapObjects.Data.dll

    Syntax

    public string Value { get; set; }
    

    Property Value

    System.object

    The value of the parameter.

    Examples

    The following code example gets the value of the ParamValue object.

    using SnapObjects.Data;
    using System;
    
    namespace Appeon.ApiDoc.ParamValueExamples
    {
        public class ValueExample
        {
            private readonly SchoolContext _context;
    
            public ValueExample(SchoolContext context)
            {
                _context = context;
            }
    
            public void Example()
            {
                string data1 = "Economics";
                var param = ParamValue.New("param1", data1);
    
                // Gets and shows the value of the ParamValue object
                Console.WriteLine("ParamValue.Name = {0}", param.Value);
    
                /*This code produces the following output:
                
                ParamValue.Value = Economics
                */
            }
        }
    }
    

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon