Name of the portal. Can be set at creation time, Admin can change the name in the portal settings
Namespace: DotNetNuke.Entities.PortalsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
[XmlElementAttribute("portalname")] public string PortalName { get; set; } |
Visual Basic |
---|
<XmlElementAttribute("portalname")> Public Property PortalName As String Get Set |
Field Value
Name of the portalReturn Value
Name of the portal
Remarks
Examples
This show the usage of the PortalName property
![]() | |
---|---|
Dim objPortalController As New PortalController Dim objPortal As PortalInfo = objPortalController.GetPortal(PortalID) txtPortalName.Text = objPortal.PortalName txtDescription.Text = objPortal.Description txtKeyWords.Text = objPortal.KeyWords |