OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / OrderBase.FileAttachmentBase Class / FileName Property



In This Topic
    FileName Property
    In This Topic
    The exact file name of the FileAttachment.
    Syntax
    'Declaration
     
    
    <DataMemberAttribute(False)>
    <DisplayNameAttribute("File Name")>
    Public ReadOnly Property FileName As String
    'Usage
     
    
    Dim instance As OrderBase.FileAttachmentBase
    Dim value As String
     
    value = instance.FileName
    [DataMember(false)]
    [DisplayName("File Name")]
    public string FileName {get;}
    [DataMember(false)]
    [DisplayName("File Name")]
    public:
    property String^ FileName {
       String^ get();
    }
    Remarks
    Includes the file extension describing the format of the contents ( e.g. .jpg, .jpeg, .png. .gif, etc.)
    Does not include any address, directory, or file path information.
    This field is read-only and cannot be directly modified.
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also