Class HostPropertyAccess
Implements
Inherited Members
Namespace: DotNetNuke.Entities.Host
Assembly: DotNetNuke.dll
Syntax
public class HostPropertyAccess : DictionaryPropertyAccess, IPropertyAccess
Constructors
| Improve this Doc View SourceHostPropertyAccess()
Initializes a new instance of the HostPropertyAccess class.
Declaration
public HostPropertyAccess()
Methods
| Improve this Doc View SourceGetProperty(String, String, CultureInfo, UserInfo, Scope, ref Boolean)
Gets a property.
Declaration
public override string GetProperty(string propertyName, string format, CultureInfo formatProvider, UserInfo accessingUser, Scope currentScope, ref bool propertyNotFound)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | propertyName | The property name to get. |
| System.String | format | The format string to format the property with, or |
| CultureInfo | formatProvider | The format provider (e.g. |
| UserInfo | accessingUser | The user this property belongs to, UserInfo. |
| Scope | currentScope | |
| System.Boolean | propertyNotFound | An out parameter that indicates if the property was not found. |
Returns
| Type | Description |
|---|---|
| System.String | A string with the value of the property. |