EventLogInformation.Attributes 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
로그에 연결된 로그 파일의 파일 특성을 가져옵니다.
public:
property Nullable<int> Attributes { Nullable<int> get(); };
public int? Attributes { get; }
member this.Attributes : Nullable<int>
Public ReadOnly Property Attributes As Nullable(Of Integer)
속성 값
정수 값을 반환합니다. 이 값은 null일 수 있습니다.
설명
이 속성의 값은 형식의 FileAttributes 값과 동일합니다. 이 속성을 더 쉽게 사용하려면 다음 코드를 사용하여 값을 해당 형식으로 변환할 수 있습니다.
using System.Diagnostics.Eventing.Reader;
using System.IO;
EventLogInformation eventLogInformation;
FileAttributes? fileAttributes = (FileAttributes?)eventLogInformation.Attributes;
Imports System.Diagnostics.Eventing.Reader
Imports System.IO
Dim eventLogInformation As EventLogInformation
Dim fileAttributes = CType(eventLogInformation.Attributes, FileAttributes?)