那是什么超阶级的出现在C#Guid属性? [英] What is the Guid attribute that appears above classes in C#?

查看:186
本文介绍了那是什么超阶级的出现在C#Guid属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近买了一些C#代码和类之一有一个GUID属性目前它上面。我不明白这是什么,或者它用来做什么的。

I've picked up some C# code recently and one of the classes has a Guid attribute present above it. I don't understand what this is or what it's used for.

有人可以给我的是什么破败,或者只是点我在一些文章的方向获得有关这方面的信息?

Can someone give me a rundown of what it is, or just point me in the direction of some articles that give more information about this?

谢谢!

推荐答案

据是表示有问题的类在COM标识符。这个类是专为COM互操作。

It is the COM identifier that represents the class in question. The class is designed for COM interop.

这篇关于那是什么超阶级的出现在C#Guid属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆