PC Review


Reply
Thread Tools Rate Thread

Applying atributes to an existing class

 
 
bamapookie
Guest
Posts: n/a
 
      24th Aug 2005
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?

 
Reply With Quote
 
 
 
 
Marina
Guest
Posts: n/a
 
      24th Aug 2005
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>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?
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applying a different syle set to an existing doc franco Microsoft Word New Users 1 14th Dec 2009 01:12 PM
Applying a different syle set to an existing doc Franco Microsoft Word Document Management 2 14th Dec 2009 12:56 PM
Applying an Existing Template Sherry Microsoft Word Document Management 1 17th Jun 2009 04:01 PM
Applying a template to an existing file Frank Moore Microsoft Excel Discussion 1 9th Nov 2005 09:46 PM
Applying Design to Existing PPT =?Utf-8?B?TGl0dGxlYmVhcg==?= Microsoft Powerpoint 2 5th Aug 2005 05:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:51 PM.