helpstringcontext

Gibt die ID eines Hilfethemas in einer HLP- oder CHM-Datei an.

Syntax

[ helpstringcontext(contextID) ]

Parameter

Contextid
Eine 32-Bit-Hilfekontext-ID in der Hilfedatei .

Hinweise

Das C++-Attribut "helpstringcontext " verfügt über die gleiche Funktionalität wie das ODL-Attribut "helpstringcontext ".

Beispiel

// 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();
};

Anforderungen

Attributkontext Wert
Gilt für class, Schnittstelle, Schnittstellenmethode
Wiederholbar Nein
Erforderliche Attribute None
Ungültige Attribute None

Weitere Informationen finden Sie unter Attributkontexte.

Siehe auch

IDL-Attribute
Schnittstellenattribut
Klassenattribute
Methodenattribut
module