LongPath Explicit conversion (DirectoryInfo to LongPath)
Namespace: Microsoft.Exchange.Data
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Shared Narrowing Operator CType ( _
dir As DirectoryInfo _
) As LongPath
'Usage
Dim input As DirectoryInfo
Dim output As LongPath
output = CType(input, LongPath)
public static explicit operator LongPath (
DirectoryInfo dir
)
Parameters
- dir
Type: System.IO.DirectoryInfo
Return value
Type: Microsoft.Exchange.Data.LongPath