Consult the atribute company in object AssemblyName or object Assembly 
Author Message
 Consult the atribute company in object AssemblyName or object Assembly

How i Consult the atribute company in object AssemblyName or object
Assembly??

I use the property Flags in object AssemblyName, but don't know acces to
this attribute.

the same with object Assembly with the method GetCustomAttributes().

thank you



Sat, 23 Oct 2004 18:47:08 GMT  
 Consult the atribute company in object AssemblyName or object Assembly
Fredy,

    What you want to do is get the Assembly object first.  Once you have
that, you can call the GetCustomAttributes method, passing in the type of
AssemblyCompanyAttribute to get the AssemblyCompanyAttribute associated with
the assembly (if there is one set).

    Hope this helps.

--
               - Nicholas Paldino [.NET MVP]


Quote:
> How i Consult the atribute company in object AssemblyName or object
> Assembly??

> I use the property Flags in object AssemblyName, but don't know acces to
> this attribute.

> the same with object Assembly with the method GetCustomAttributes().

> thank you



Sat, 23 Oct 2004 20:45:47 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Convert object AssemblyName to Assembly

2. obtain Assembly objects of referenced assemblies

3. load specific version of assembly that is in the cache in the object Assembly

4. Object.Equals(Object o) and Object.GEtHashCode() mehtods

5. ATL objects, with objects, with more objects

6. creating an unknown object in an unknown assembly ?

7. COM object into Global assembly cache

8. Pass Page Object to External Class/Assembly

9. acces to classes of a Assembly object

10. Linking VC6 project with object file of assembly program

11. Determining in what assembly an object was created?

12. Casting manged object to unmanaged object

 

 
Powered by phpBB® Forum Software