NativeMethods.GetVolumeInformation メソッド (String, IntPtr, UInt32, IntPtr, IntPtr, UInt32%, IntPtr, UInt32)

この型は SecurityCriticalAttribute 属性を持っているため、使用は .NET Framework for Silverlight クラス ライブラリでの内部用に限定されます。アプリケーション コードでこの型の任意のメンバーを使用すると、MethodAccessException 例外がスローされます。

名前空間:  Microsoft.TeamFoundation.Common.Internal
アセンブリ:  Microsoft.TeamFoundation.Common (Microsoft.TeamFoundation.Common.dll 内)

構文

'宣言
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
)

パラメーター

戻り値

型 : System.Boolean

参照

関連項目

NativeMethods クラス

GetVolumeInformation オーバーロード

Microsoft.TeamFoundation.Common.Internal 名前空間