[DllImportAttribute("ShlwApi.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)]
public static bool PathRelativePathTo(
StringBuilder path,
string from,
FileAttributes attrFrom,
string to,
FileAttributes attrTo
)
<DllImportAttribute("ShlwApi.dll", CharSet := CharSet.Auto, BestFitMapping := false,
ThrowOnUnmappableChar := true, SetLastError := true>]
Public Shared Function PathRelativePathTo (
path As StringBuilder,
from As String,
attrFrom As FileAttributes,
to As String,
attrTo As FileAttributes
) As Boolean
Dim path As StringBuilder
Dim from As String
Dim attrFrom As FileAttributes
Dim to As String
Dim attrTo As FileAttributes
Dim returnValue As Boolean
returnValue = ShlwApi.PathRelativePathTo(path,
from, attrFrom, to, attrTo)
public:
[DllImportAttribute(L"ShlwApi.dll", CharSet = CharSet::Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)]
static bool PathRelativePathTo(
StringBuilder^ path,
String^ from,
FileAttributes attrFrom,
String^ to,
FileAttributes attrTo
)
[<DllImportAttribute("ShlwApi.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)>]
static member PathRelativePathTo :
path : StringBuilder *
from : string *
attrFrom : FileAttributes *
to : string *
attrTo : FileAttributes -> bool
No code example is currently available or this language may not be supported.
[Missing <param name="to"/> documentation for "M:DevCase.Win32.NativeMethods.ShlwApi.PathRelativePathTo(System.Text.StringBuilder,System.String,System.IO.FileAttributes,System.String,System.IO.FileAttributes)"]