NativeMethods.GetVolumeInformation (Método) (String, IntPtr, UInt32, IntPtr, IntPtr, UInt32%, IntPtr, UInt32)

Este tipo tiene un atributo SecurityCriticalAttribute que lo restringe para uso interno de .NET Framework para la biblioteca de clases de Silverlight. El código de aplicación que usa un miembro de este tipo produce una excepción MethodAccessException.

Espacio de nombres:  Microsoft.TeamFoundation.Common.Internal
Ensamblado:  Microsoft.TeamFoundation.Common (en Microsoft.TeamFoundation.Common.dll)

Sintaxis

'Declaración
Public Shared Function GetVolumeInformation ( _
    lpRootPathName As String, _
    lpVolumeNameBuffer As IntPtr, _
    nVolumeNameSize As UInteger, _
    lpVolumeSerialNumber As IntPtr, _
    lpMaximumComponentLength As IntPtr, _
    ByRef lpFileSystemFlags As UInteger, _
    lpFileSystemNameBuffer As IntPtr, _
    nFileSystemNameSize As UInteger _
) As Boolean
public static bool GetVolumeInformation(
    string lpRootPathName,
    IntPtr lpVolumeNameBuffer,
    uint nVolumeNameSize,
    IntPtr lpVolumeSerialNumber,
    IntPtr lpMaximumComponentLength,
    ref uint lpFileSystemFlags,
    IntPtr lpFileSystemNameBuffer,
    uint nFileSystemNameSize
)

Parámetros

Valor devuelto

Tipo: System.Boolean

Vea también

Referencia

NativeMethods Clase

GetVolumeInformation (Sobrecarga)

Microsoft.TeamFoundation.Common.Internal (Espacio de nombres)