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

この型は 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 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
)

パラメーター

戻り値

型 : System.Boolean

参照

関連項目

NativeMethods クラス

GetVolumeInformation オーバーロード

Microsoft.TeamFoundation.Common.Internal 名前空間