LongPath Explicit Conversion (FileInfo to LongPath)
Namespace: Microsoft.Exchange.Data
Assembly: Microsoft.Exchange.Data (in Microsoft.Exchange.Data.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
- file
Type: System.IO.FileInfo
Return Value
See Also