DataSiteableObject<T> Class
Provides a simplified way to support communication between an object and its site in the container.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Data.Framework.DataSiteableObject<T>
More...
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Class DataSiteableObject(Of T) _
Implements IVsDataSiteableObject(Of T)
public class DataSiteableObject<T> : IVsDataSiteableObject<T>
generic<typename T>
public ref class DataSiteableObject : IVsDataSiteableObject<T>
type DataSiteableObject<'T> =
class
interface IVsDataSiteableObject<'T>
end
JScript does not support generic types or methods.
Type Parameters
- T
The type of the parameter.
The DataSiteableObject<T> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataSiteableObject<T>() | Creates a new instance of the DataSiteableObject<T> class. | |
DataSiteableObject<T>(T) | Initializes a new instance of the DataSiteableObject<T> class, specifying a site generic type parameter. |
Top
Properties
Name | Description | |
---|---|---|
Site | Gets or sets the object site. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnSiteChanged | Raises the SiteChanged event. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
SiteChanged | Occurs when the Site property is changed. |
Top
Remarks
This class provides an event that is raised when the site is changed. This allows a client or any derived class to apply custom logic when changes occur to the object site.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.Data.Framework Namespace
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Data.Framework.DataSiteableObject<T>
Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetConnectionProperties
Microsoft.VisualStudio.Data.Framework.DataAsyncCommand
Microsoft.VisualStudio.Data.Framework.DataCommand
Microsoft.VisualStudio.Data.Framework.DataConnectionEquivalencyComparer
Microsoft.VisualStudio.Data.Framework.DataMappedObjectConverter
Microsoft.VisualStudio.Data.Framework.DataObjectIdentifierConverter
Microsoft.VisualStudio.Data.Framework.DataObjectIdentifierResolver
Microsoft.VisualStudio.Data.Framework.DataObjectMemberComparer
Microsoft.VisualStudio.Data.Framework.DataObjectSelector
Microsoft.VisualStudio.Data.Framework.DataProviderObjectFactory
Microsoft.VisualStudio.Data.Framework.DataSourceInformation
Microsoft.VisualStudio.Data.Framework.DataSourceVersionComparer
Microsoft.VisualStudio.Data.Framework.DataTransaction
Microsoft.VisualStudio.Data.Framework.DataViewBrowseObjectProvider
Microsoft.VisualStudio.Data.Framework.DataViewCommandProvider
Microsoft.VisualStudio.Data.Framework.DataViewDocumentProvider
Microsoft.VisualStudio.Data.Framework.DSRefBuilder