Checks with the Assigned domains settings and retuns an array the the Domains matching the node

Namespace: umbraco
Assembly:   umbraco (in umbraco)
Version: 1.0.2698.41384

Syntax

Visual Basic (Declaration)
Public Shared Function GetCurrentDomains ( _
	NodeId As Integer _
) As Domain()
C#
public static Domain[] GetCurrentDomains (
	int NodeId
)
Visual C++
public:
static array<Domain^>^ GetCurrentDomains (
	int NodeId
)

Parameters

NodeId
System.Int32
Identifier for the node that should be returned

Return Value

A Domain array with all the Domains that matches the nodeId