WebExtensionBinding.Id

WebExtensionBinding.Id property

Gets and sets the binding identifier.

public string Id { get; set; }

Examples

namespace AsposeCellsExamples
{
    using Aspose.Cells.WebExtensions;
    using System;

    public class WebExtensionBindingPropertyIdDemo
    {
        public static void Run()
        {
            try
            {
                // Create a new WebExtensionBinding instance
                WebExtensionBinding binding = new WebExtensionBinding();
                
                // Set the Id property
                binding.Id = "SampleBindingId";
                
                // Display the current value of Id
                Console.WriteLine("Initial Id value: " + binding.Id);
                
                // Modify the Id value to demonstrate it's read/write
                binding.Id = "UpdatedBindingId";
                Console.WriteLine("Updated Id value: " + binding.Id);
                
                Console.WriteLine("Id property has been successfully demonstrated");
            }
            catch (Exception ex)
            {
                Console.WriteLine($"Error: {ex.Message}");
            }
        }
    }
}

See Also