नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'attribute': this attribute is not allowed on 'construct'
Remarks
An attribute was applied to a construct for which it was not intended. See Attributes by Usage for more information.
Example
The following example generates C3115.
// C3115.cpp
// compile with: /c
#include <unknwn.h>
[module(name="xx")];
[object, helpstringdll(xx.dll), uuid("00000000-0000-0000-0000-000000000001")] // C3115
// try the following line instead
// [object, uuid("00000000-0000-0000-0000-000000000001")]
__interface IMyI {
HRESULT xx();
};