MI_PropertySet 구조에 사용되는 지원 구조체입니다. "MI_PropertySet_" 이름 접두사로 함수를 사용하여 이러한 구조를 조작합니다.
구문
typedef struct _MI_PropertySetFT {
MI_Result((const MI_PropertySet *self,MI_Uint32 *count) * )GetElementCount;
MI_Result(const MI_PropertySet *self, const MI_Char *name,MI_Boolean *flag) * )(ContainsElement;
MI_Result((MI_PropertySet *self, const MI_Char *name) * )AddElement;
MI_Result(const MI_PropertySet *self,MI_Uint32 index, const MI_Char **name) * )(GetElementAt;
MI_Result()(MI_PropertySet *self) * Clear;
MI_Result()(MI_PropertySet *self) * Destruct;
MI_Result()(MI_PropertySet *self) * Delete;
MI_Result(const MI_PropertySet *self,MI_PropertySet **newPropertySet) * )(Clone;
} MI_PropertySetFT;
멤버
GetElementCount
지정된 속성 집합의 요소 수를 가져옵니다. MI_PropertySet_GetElementCount 참조하세요.
ContainsElement
속성 목록에 지정된 속성이 포함되어 있는지 여부를 확인합니다. MI_PropertySet_ContainsElement 참조하세요.
AddElement
속성 목록에 이름을 추가합니다. MI_PropertySet_AddElement 참조하세요.
GetElementAt
지정된 인덱스에서 속성 집합의 요소를 가져옵니다. MI_PropertySet_GetElementAt 참조하세요.
Clear
속성 목록에서 모든 이름을 제거합니다. MI_PropertySet_Clear 참조하세요.
Destruct
스택에 생성된 지정된 속성 목록을 삭제합니다. MI_PropertySet_Destruct 참조하세요.
Delete
힙에 생성된 지정된 속성 목록을 삭제합니다. MI_PropertySet_Delete 참조하세요.
Clone
힙에 지정된 속성 집합의 복사본을 만듭니다. MI_PropertySet_Clone 참조하세요.
요구 사항
| 지원되는 최소 클라이언트 | Windows 8 |
| 지원되는 최소 서버 | Windows Server 2012 |
| 머리글 | mi.h |
| 재배포 가능 파일 | windows Server 2008 R2 SP1, Windows 7 SP1 및 Windows Server 2008 SP2의 Windows Management Framework 3.0 |