Win32 API 日本語リファレンス
ホームSystem.Performance › AutoPathFormat

AutoPathFormat

列挙型
基底型i4

メンバー 10

名前10進16進説明
plaNone00x0名前を装飾しません。
plaPattern10x1名前にパターンを追加します。パターンは IDataCollector::FileNameFormatPattern または IDataCollectorSet::SubdirectoryFormatPattern プロパティで指定します。
plaComputer20x2名前の先頭にコンピューター名を付加します。
plaMonthDayHour2560x100名前に月、日、時を MMddHH の形式で追加します。
plaSerialNumber5120x200IDataCollectorSet::SerialNumber プロパティで指定されたシリアル番号を、NNNNNN の形式でサブディレクトリ名に追加します。
plaYearDayOfYear10240x400名前に年と年間通算日を yyyyDDD の形式で追加します。
plaYearMonth20480x800名前に年と月を yyyyMM の形式で追加します。
plaYearMonthDay40960x1000名前に年、月、日を yyyyMMdd の形式で追加します。
plaYearMonthDayHour81920x2000名前に年、月、日、時を yyyyMMddHH の形式で追加します。
plaMonthDayHourMinute163840x4000名前に月、日、時、分を MMddHHmm の形式で追加します。

公式ドキュメント

ファイル名またはサブディレクトリ名をどのように装飾するかを定義します。

解説(Remarks)

パターンはファイルとサブディレクトリに同じように適用されます。

パターンの詳細については、FileNameFormatPattern の解説セクションを参照してください。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum AutoPathFormat : int {
    plaNone = 0,
    plaPattern = 1,
    plaComputer = 2,
    plaMonthDayHour = 256,
    plaSerialNumber = 512,
    plaYearDayOfYear = 1024,
    plaYearMonth = 2048,
    plaYearMonthDay = 4096,
    plaYearMonthDayHour = 8192,
    plaMonthDayHourMinute = 16384
} AutoPathFormat;
public enum AutoPathFormat : int
{
    plaNone = 0,
    plaPattern = 1,
    plaComputer = 2,
    plaMonthDayHour = 256,
    plaSerialNumber = 512,
    plaYearDayOfYear = 1024,
    plaYearMonth = 2048,
    plaYearMonthDay = 4096,
    plaYearMonthDayHour = 8192,
    plaMonthDayHourMinute = 16384,
}
Public Enum AutoPathFormat As Integer
    plaNone = 0
    plaPattern = 1
    plaComputer = 2
    plaMonthDayHour = 256
    plaSerialNumber = 512
    plaYearDayOfYear = 1024
    plaYearMonth = 2048
    plaYearMonthDay = 4096
    plaYearMonthDayHour = 8192
    plaMonthDayHourMinute = 16384
End Enum
import enum

class AutoPathFormat(enum.IntEnum):
    plaNone = 0
    plaPattern = 1
    plaComputer = 2
    plaMonthDayHour = 256
    plaSerialNumber = 512
    plaYearDayOfYear = 1024
    plaYearMonth = 2048
    plaYearMonthDay = 4096
    plaYearMonthDayHour = 8192
    plaMonthDayHourMinute = 16384
// AutoPathFormat
pub const plaNone: i32 = 0;
pub const plaPattern: i32 = 1;
pub const plaComputer: i32 = 2;
pub const plaMonthDayHour: i32 = 256;
pub const plaSerialNumber: i32 = 512;
pub const plaYearDayOfYear: i32 = 1024;
pub const plaYearMonth: i32 = 2048;
pub const plaYearMonthDay: i32 = 4096;
pub const plaYearMonthDayHour: i32 = 8192;
pub const plaMonthDayHourMinute: i32 = 16384;
// AutoPathFormat
const (
	plaNone int32 = 0
	plaPattern int32 = 1
	plaComputer int32 = 2
	plaMonthDayHour int32 = 256
	plaSerialNumber int32 = 512
	plaYearDayOfYear int32 = 1024
	plaYearMonth int32 = 2048
	plaYearMonthDay int32 = 4096
	plaYearMonthDayHour int32 = 8192
	plaMonthDayHourMinute int32 = 16384
)
const
  plaNone = 0;
  plaPattern = 1;
  plaComputer = 2;
  plaMonthDayHour = 256;
  plaSerialNumber = 512;
  plaYearDayOfYear = 1024;
  plaYearMonth = 2048;
  plaYearMonthDay = 4096;
  plaYearMonthDayHour = 8192;
  plaMonthDayHourMinute = 16384;
// AutoPathFormat
pub const plaNone: i32 = 0;
pub const plaPattern: i32 = 1;
pub const plaComputer: i32 = 2;
pub const plaMonthDayHour: i32 = 256;
pub const plaSerialNumber: i32 = 512;
pub const plaYearDayOfYear: i32 = 1024;
pub const plaYearMonth: i32 = 2048;
pub const plaYearMonthDay: i32 = 4096;
pub const plaYearMonthDayHour: i32 = 8192;
pub const plaMonthDayHourMinute: i32 = 16384;
const
  plaNone* = 0
  plaPattern* = 1
  plaComputer* = 2
  plaMonthDayHour* = 256
  plaSerialNumber* = 512
  plaYearDayOfYear* = 1024
  plaYearMonth* = 2048
  plaYearMonthDay* = 4096
  plaYearMonthDayHour* = 8192
  plaMonthDayHourMinute* = 16384
enum AutoPathFormat : int {
    plaNone = 0,
    plaPattern = 1,
    plaComputer = 2,
    plaMonthDayHour = 256,
    plaSerialNumber = 512,
    plaYearDayOfYear = 1024,
    plaYearMonth = 2048,
    plaYearMonthDay = 4096,
    plaYearMonthDayHour = 8192,
    plaMonthDayHourMinute = 16384,
}
#define global plaNone               0x0
#define global plaPattern            0x1
#define global plaComputer           0x2
#define global plaMonthDayHour       0x100
#define global plaSerialNumber       0x200
#define global plaYearDayOfYear      0x400
#define global plaYearMonth          0x800
#define global plaYearMonthDay       0x1000
#define global plaYearMonthDayHour   0x2000
#define global plaMonthDayHourMinute 0x4000