Returns that name of a generic property

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

Syntax

Visual Basic (Declaration)
Public Shared Function GetPropertyTypeName ( _
	ContentTypeAlias As String, _
	PropertyTypeAlias As String _
) As String
C#
public static string GetPropertyTypeName (
	string ContentTypeAlias,
	string PropertyTypeAlias
)
Visual C++
public:
static String^ GetPropertyTypeName (
	String^ ContentTypeAlias, 
	String^ PropertyTypeAlias
)

Parameters

ContentTypeAlias
System.String
The Alias of the content type (ie. Document Type, Member Type or Media Type)
PropertyTypeAlias
System.String
The Alias of the Generic property (ie. bodyText or umbracoNaviHide)

Return Value

A string with the name. If nothing matches the alias, an empty string is returned