doubt in c sharp

  • Thread starter Thread starter Baskar RajaSekharan
  • Start date Start date
B

Baskar RajaSekharan

Please clarify My doubt..

1) How to find out whether the component devekopment in Csharp is in
Relase Mode or Run Mode?

2) Like Class Id in C++ , what the Unique Id for C-shap Component?
 
Baskar,
1) How to find out whether the component devekopment in Csharp is in
Relase Mode or Run Mode?

What's your definition of "release mode" vs "run mode"?

2) Like Class Id in C++ , what the Unique Id for C-shap Component?

The combination of the assembly name and the fully qualified type name
identifies a managed type. If you want it to be unique, make sure you
give your assembly a strong name.



Mattias
 
Baskar,

To find out whether or not a component is in design mode or run mode you
can use the DesignMode property on the Component class.

The closest thing to a unique id in .NET would be the type name, which
can be obtained through the FullName property on the Type instance which
represents the type of the class.

Hope this helps.
 
Back
Top