←Select platform

UserState Property

Summary

The user-defined state object associated with this operation.

Syntax
C#
VB
C++
public object UserState { get; set; } 
Public Property UserState() As Object 
   Get 
   Set 
public:  
   property Object^ UserState 
   { 
      Object^ get() 
      void set(Object^ value) 
   } 

Property Value

Optional user-defined state object associated with this operation. Default value is null.

Remarks

This value can be set to anything by the user and is not used by DocumentFactory. The same value will be set in System.ComponentModel.ProgressChangedEventArgs.UserState event data and in System.ComponentModel.AsyncCompletedEventArgs.UserState event data.

Example

For an example, refer to DocumentFactory.LoadFromUriAsync.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.