Gets a Property Defintion from the Data Store by name
Namespace: DotNetNuke.Entities.ProfileAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static ProfilePropertyDefinition GetPropertyDefinitionByName( int portalId, string name ) |
Visual Basic |
---|
Public Shared Function GetPropertyDefinitionByName ( portalId As Integer, name As String ) As ProfilePropertyDefinition |
Parameters
- portalId
- Type: System..::..Int32
The id of the Portal
- name
- Type: System..::..String
The name of the ProfilePropertyDefinition object to retrieve