Use of ISite


Author
Message
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
I am not quite able to determine what the purpose of the following code is:





private ISite _Site;



[Browsable(false)]

public System.ComponentModel.ISite Site

{

get

{

return this._Site;

}

set

{

this._Site = value;

}

}





Since the _Site variable is private, and nothing in the class does anything with it, couldn't we do something like this:





[Browsable(false)]

public System.ComponentModel.ISite Site { get; set; }





My next question is, what outside of the class uses this property? I may find it as I am working on this...I'll post here as soon as I do.



Thanks,

Bill

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Bill Cunnien - 14 Years Ago
Greg McGuffey - 14 Years Ago
Bill Cunnien - 14 Years Ago
                 (bump)

:)
Bill Cunnien - 14 Years Ago
Trent L. Taylor - 14 Years Ago
                         Ok...that'll give me some things to study (components and how they...
Bill Cunnien - 14 Years Ago
                             I generally don't like to do that but prefer to define it explicitly,...
Trent L. Taylor - 14 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search