473,385 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Applying atributes to an existing class

I want to apply an attribute (ExpandableObjectConverter) to an existing
..NET class (actually, I want to apply it to
Microsoft.SharePoint.SPUser) Since this class already exists, I can't
just tack the attribue onto the class declaration. Is there any way to
do this?

Nov 21 '05 #1
1 947
No, there isn't. I'm sure you wouldn't want someone taking your class, and
changing it.

What you can do is inherit from this class, and apply the attribute to the
inherited class. Of course now you have to deal with this new class instead
of SPUser.

"bamapookie" <ba********@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
I want to apply an attribute (ExpandableObjectConverter) to an existing
.NET class (actually, I want to apply it to
Microsoft.SharePoint.SPUser) Since this class already exists, I can't
just tack the attribue onto the class declaration. Is there any way to
do this?

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jonathan | last post by:
I have a specific situation where I am applying padding to text inside of a "P" tag, where if the text wraps then the second line of text ignores the padding. Here is a snippet of what I am doing:...
2
by: Filipe | last post by:
Hi all, This is a urgent situation. I´m counting on you guys to give some clue to get the right XSL Transformation. I need do group all nested tags <Entry> inside tag <Record> according to an...
3
by: Bernardo | last post by:
Hi, I want to Get all controls names, some properties, etc... from a form at runtime. Anyone knows how can i enumerate all controls from a form? Thanks for your help,
2
by: luke.crouch | last post by:
My server-side php script is generating an xml response with the following structure: <thread class='Columns'> <Id class='Column dataDetail'>12345</Id> <Command class='Column...
6
by: Orgun | last post by:
Hi, I sent this message to the moderated c++ group too but it is waiting for moderator approval and I wanted to send here too. I am new to Design Patterns. I want to write a simple...
4
by: ashkaan57 | last post by:
Hi, I am working on an asp.net application that has a grid. When rendered, grids are translated into tables. I am having some problems applying styles to the this table. When I do a "View Source",...
0
by: schneider | last post by:
Hi all, I'm trying to create a nice navigation for an asp.net 2.0 website. What I want to do is use css to define the look of the tree. My problem is that I cannot set margins or paddings via...
1
by: Constantine AI | last post by:
Here is the situation i am currently trying to update a sales order using PHP and javascript. When you click on the edit button it brings you a new site page with existing sales order details within....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.