MemberDescriptor::GetSite Method (Object^)

 

Gets a component site for the given component.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

protected:
static ISite^ GetSite(
	Object^ component
)

Parameters

component
Type: System::Object^

The component for which you want to find a site.

Return Value

Type: System.ComponentModel::ISite^

The site of the component, or null if a site does not exist.

.NET Framework
Available since 1.1
Return to top
Show: