NativeMethods.GetVolumeInformation, méthode (String, StringBuilder, Int32, UInt32%, UInt32%, UInt32%, StringBuilder, Int32)
Ce type a un attribut SecurityCriticalAttribute, qui le limite à un usage interne par la bibliothèque de classes .NET Framework pour Silverlight. Un code d'application qui utilise un membre de ce type lève une exception MethodAccessException.
Espace de noms : Microsoft.TeamFoundation.Common.Internal
Assembly : Microsoft.TeamFoundation.Common (dans Microsoft.TeamFoundation.Common.dll)
Syntaxe
'Déclaration
Public Shared Function GetVolumeInformation ( _
lpRootPathName As String, _
lpVolumeNameBuffer As StringBuilder, _
nVolumeNameSize As Integer, _
<OutAttribute> ByRef lpVolumeSerialNumber As UInteger, _
<OutAttribute> ByRef lpMaximumComponentLength As UInteger, _
<OutAttribute> ByRef lpFileSystemFlags As UInteger, _
lpFileSystemNameBuffer As StringBuilder, _
nFileSystemNameSize As Integer _
) As Boolean
public static bool GetVolumeInformation(
string lpRootPathName,
StringBuilder lpVolumeNameBuffer,
int nVolumeNameSize,
out uint lpVolumeSerialNumber,
out uint lpMaximumComponentLength,
out uint lpFileSystemFlags,
StringBuilder lpFileSystemNameBuffer,
int nFileSystemNameSize
)
Paramètres
- lpRootPathName
Type : System.String
- lpVolumeNameBuffer
Type : System.Text.StringBuilder
- nVolumeNameSize
Type : System.Int32
- lpVolumeSerialNumber
Type : System.UInt32%
- lpMaximumComponentLength
Type : System.UInt32%
- lpFileSystemFlags
Type : System.UInt32%
- lpFileSystemNameBuffer
Type : System.Text.StringBuilder
- nFileSystemNameSize
Type : System.Int32
Valeur de retour
Type : System.Boolean