NativeMethods.SetFileInformationByHandle メソッド (SafeFileHandle, NativeMethods.FILE_INFO_BY_HANDLE_CLASS, NativeMethods.FILE_END_OF_FILE_INFO%, UInt32)

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

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

構文

'宣言
Public Shared Function SetFileInformationByHandle ( _
    hFile As SafeFileHandle, _
    FileInformationClass As NativeMethods.FILE_INFO_BY_HANDLE_CLASS, _
    ByRef lpFileInformation As NativeMethods.FILE_END_OF_FILE_INFO, _
    dwBufferSize As UInteger _
) As Boolean
public static bool SetFileInformationByHandle(
    SafeFileHandle hFile,
    NativeMethods.FILE_INFO_BY_HANDLE_CLASS FileInformationClass,
    ref NativeMethods.FILE_END_OF_FILE_INFO lpFileInformation,
    uint dwBufferSize
)

パラメーター

戻り値

型 : System.Boolean

参照

関連項目

NativeMethods クラス

SetFileInformationByHandle オーバーロード

Microsoft.TeamFoundation.Common.Internal 名前空間