开发者

c# about interfaces

I have a library that contains some public interfaces. Before each public interface there is a: [Guid:("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx")]. What is this Guid. what does it do? Is it possible to acces the methods from this library without adding the lib to ref just using this Guid. Or what can i do using another appli开发者_JAVA技巧cation with this Guid?


This GUID is used when the .NET assembly is used as an COM object. You can't use this method without referencing either the .NET assembly as a .NET assembly or as a COM object. This is mainly for interoperability with other languages that don't know how to work with .NET assemblies. COM objects can be consumed by virtually any technology/language on Windows.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜