←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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly