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!

ComponentModelPersister.GetComponentName

Gets the name of the specified component.

[Visual Basic]
Protected Function GetComponentName( _
   ByVal component As IComponent _
) As String
[C#]
protected string GetComponentName(
   IComponent component
);
[C++]
protected: String* GetComponentName(
   IComponent* component
);
[JScript]
protected function GetComponentName(
   component : IComponent
) : String;

Parameters

component
The name of the component.

Remarks

This will return an empty string for the top level component, since that is what CodeSense wants for references to "this" or "me".

See Also

ComponentModelPersister Class | ComponentModelPersister Members | System.ComponentModel.Design Namespace