Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "PathRemoveExtension" in [All]

shlwapi

.
Summary
PathRemoveExtension - Removes the file name extension from a path, if one is present.
.

[DllImport("shlwapi.dll", EntryPoint = "PathRemoveExtensionW",  SetLastError = True, CharSet= CharSet.Unicode)]

.

static extern void PathRemoveExtension([MarshalAs(UnmanagedType.LPTStr)]System.Text.StringBuilder pszFile);

.

<DllImport("shlwapi.dll", EntryPoint:="PathRemoveExtensionW",  SetLastError:=True, CharSet:=CharSet.Unicode)> _

.

Public Sub PathRemoveExtension(<MarshalAs(UnmanagedType.LPTStr)>pszFile As System.Text.StringBuilder)

.

Public Declare Sub PathRemoveExtension Lib "shlwapi" Alias "PathRemoveExtensionA" _

.

Win32.API.Shlwapi.PathRemoveExtension(strFile)

.
Documentation
[PathRemoveExtension] on MSDN

 
Access PInvoke.net directly from VS: