←Select platform

FileName Property

Summary

Gets the file name this asynchronous operation is using.

Syntax

C#
VB
C++
public string FileName { get; } 
Public ReadOnly Property FileName As String 
public: 
property String^ FileName { 
   String^ get(); 
} 

Property Value

The file name this asynchronous operation is using.

Remarks

Only one of the following can be a valid value (not a null reference) at any time: Uri, Stream or FileName. The property that contains a valid reference depends on what version of RasterCodecs.GetInformationAsync, RasterCodecs.LoadAsync or RasterCodecs.SaveAsync method has been called.

For example, if RasterCodecs.LoadAsync(Uri uri, object userState) is being called, the Uri will contain the same URI passed to the method while Stream and FileName will both be null. If RasterCodecs.LoadAsync(String fileName, object userState) is being called, the FileName will contain the same file name string value passed to the method while Uri and Stream will both be null and so on.

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.Codecs Assembly