Share via


LongPath Explicit conversion (FileInfo to LongPath)

Namespace:  Microsoft.Exchange.Data
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Shared Narrowing Operator CType ( _
    file As FileInfo _
) As LongPath
'Usage
Dim input As FileInfo
Dim output As LongPath

output = CType(input, LongPath)
public static explicit operator LongPath (
    FileInfo file
)

Parameters

Return value

Type: Microsoft.Exchange.Data.LongPath

See also

Reference

LongPath class

LongPath members

Explicit overload

Microsoft.Exchange.Data namespace