View Source
Class PublishedPropertyExtension
Provides extension methods for IPublishedProperty
.
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public static class PublishedPropertyExtension
Methods
View Source
Value(IPublishedProperty, String, String, Fallback, Object)
Declaration
public static object Value(this IPublishedProperty property, string culture = null, string segment = null, Fallback fallback = default(Fallback), object defaultValue = null)
Parameters
Type |
Name |
Description |
IPublishedProperty |
property |
|
System.String |
culture |
|
System.String |
segment |
|
Fallback |
fallback |
|
System.Object |
defaultValue |
|
Returns
Type |
Description |
System.Object |
|
View Source
Value<T>(IPublishedProperty, String, String, Fallback, T)
Declaration
public static T Value<T>(this IPublishedProperty property, string culture = null, string segment = null, Fallback fallback = default(Fallback), T defaultValue = null)
Parameters
Returns
Type Parameters