Name Property
Collapse the table of content
Expand the table of content

ISite.Name Property

Gets or sets the name of the component associated with the ISite when implemented by a class.

[Visual Basic]
Property Name As String
[C#]
string Name {get; set;}
[C++]
__property String* get_Name();
__property void set_Name(String*);
[JScript]
function get Name() : String;function set Name(String);

Property Value

The name of the component associated with the ISite; or a null reference (Nothing in Visual Basic), if no name is assigned to the component.

Remarks

The components within a container might or might not be named. If a component is given a name, the name must be unique among all the components within the container.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

ISite Interface | ISite Members | System.ComponentModel Namespace

Show:
© 2016 Microsoft