नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'interface' : you cannot create an instance of an interface
Remarks
An interface cannot be instantiated. To use the members of an interface, derive a class from the interface, implement the interface members, and then use the members.
Example
The following example generates C3153:
// C3153.cpp
// compile with: /clr
interface class A {
};
int main() {
A^ a = gcnew A; // C3153
}