NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MemberDescriptor.GetSite

Gets a component site for the given component.

[Visual Basic]
Protected Shared Function GetSite( _
   ByVal component As Object _
) As ISite
[C#]
protected static ISite GetSite(
   object component
);
[C++]
protected: static ISite* GetSite(
   Object* component
);
[JScript]
protected static function GetSite(
   component : Object
) : ISite;

Parameters

component
The component whose site you want to find.

Return Value

The site of the component, or a null reference (in Visual Basic Nothing) if a site does not exist.

See Also

MemberDescriptor Class | MemberDescriptor Members | System.ComponentModel Namespace