1. Getting started
2. Calling methods
3. Working with .NET Objects
4. Fields and Properties
5. Methods Arguments
6. Nested Types
7. Enums
8. Arrays and Collections
9. Embeding UI controls
10. Referencing libraries
11. Off-line activation
12. Events and Delegates
13. Disposing and Garabage Collection
14. .NET Configuration Files (AppConfig, WebConfig)
15. Exceptions, Debugging and Testing
16. Strongly-Typed Wrappers
    17. Advanced Activation and Licensing

    Get/Set Values for Instance Fields and Properties

    To set or get values of instance fields and properties, get or create an instance of the .NET object, and call “get(fieldOrPropertyName)” or “set(fieldOrPropertyName,newValue)” methods on NObject containing this field.


    //Your .NET class
      public class JavonetSample
        public int MyInstanceField { get; set; }
    //Usage in Java
      NObject sampleObj = Javonet.New("JavonetSample");
      sampleObj.set("MyInstanceField", 10);
      Integer val = sampleObj.get("MyInstanceField");

    See Live Example!