summaryM:DotNetNuke.Entities.Portals.PortalAliasExtensions.GetAliasesForPortalId(System.Collections.Generic.IEnumerable{DotNetNuke.Entities.Portals.PortalAliasInfo},System.Int32)

Namespace: DotNetNuke.Entities.Portals
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static List<string> GetAliasesForPortalId(
	this IEnumerable<PortalAliasInfo> aliases,
	int portalId
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function GetAliasesForPortalId ( 
	aliases As IEnumerable(Of PortalAliasInfo),
	portalId As Integer
) As List(Of String)

Parameters

aliases
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'PortalAliasInfo>)>)>
paramaliasesM:DotNetNuke.Entities.Portals.PortalAliasExtensions.GetAliasesForPortalId(System.Collections.Generic.IEnumerable{DotNetNuke.Entities.Portals.PortalAliasInfo},System.Int32)
portalId
Type: System..::..Int32
paramportalIdM:DotNetNuke.Entities.Portals.PortalAliasExtensions.GetAliasesForPortalId(System.Collections.Generic.IEnumerable{DotNetNuke.Entities.Portals.PortalAliasInfo},System.Int32)

Return Value

returnsM:DotNetNuke.Entities.Portals.PortalAliasExtensions.GetAliasesForPortalId(System.Collections.Generic.IEnumerable{DotNetNuke.Entities.Portals.PortalAliasInfo},System.Int32)

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<(Of <(<'PortalAliasInfo>)>)>. When you use instance method syntax to call this method, omit the first parameter. For more information, see [b8020aae-374d-46a9-bcb7-8cc2390b93b6] or [175ce3ff-9bbf-4e64-8421-faeb81a0bb51].

See Also