GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoDocument Class / UserObject Property
In This Topic
    UserObject Property (GoDocument)
    In This Topic
    Gets or sets an object associated with this document.
    Syntax
    [DefaultValue("")]
    [Description("An object associated with this document.")]
    public virtual object UserObject {get; set;}

    Property Value

    The initial value is null. The value should be serializable.
    Remarks
    In some cases you may be able to avoid creating a subclass of GoDocument by using this property to hold your application specific state. However, in general it would be best to derive a subclass holding your custom fields, because you will be able to control access to your document state more clearly, and because you will be able to override various methods to customize behavior more cleanly.
    See Also