helpstringcontext

.hlp 또는 .chm 파일에서 도움말 항목의 ID를 지정합니다.

구문

[ helpstringcontext(contextID) ]

매개 변수

contextID
도움말 파일의 32비트 도움말 컨텍스트 식별자입니다.

설명

helpstringcontext C++ 특성에는 helpstringcontext ODL 특성과 동일한 기능이 있습니다.

예시

// cpp_attr_ref_helpstringcontext.cpp
// compile with: /LD
#include <unknwn.h>
[module(name="MyLib")];

[   object, helpstring("help string"), helpstringcontext(1), uuid="11111111-1111-1111-1111-111111111111"
]
__interface IMyI
{
   HRESULT xx();
};

요구 사항

특성 컨텍스트
적용 대상: class, 인터페이스, 인터페이스 메서드
반복 가능 아니요
필수 특성 없음
잘못된 특성 없음

자세한 내용은 특성 컨텍스트를 참조하세요.

참고 항목

IDL 특성
인터페이스 특성
클래스 특성
메서드 특성
module