• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class HostPropertyAccess

Inheritance
System.Object
DictionaryPropertyAccess
HostPropertyAccess
Implements
IPropertyAccess
Inherited Members
DictionaryPropertyAccess.Cacheability
Namespace: DotNetNuke.Entities.Host
Assembly: DotNetNuke.dll
Syntax
public class HostPropertyAccess : DictionaryPropertyAccess, IPropertyAccess

Constructors

| Improve this Doc View Source

HostPropertyAccess()

Initializes a new instance of the HostPropertyAccess class.

Declaration
public HostPropertyAccess()

Methods

| Improve this Doc View Source

GetProperty(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 null to use the default format.

CultureInfo formatProvider

The format provider (e.g. ) to use.

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.

Overrides
DictionaryPropertyAccess.GetProperty(String, String, CultureInfo, UserInfo, Scope, ref Boolean)

Implements

IPropertyAccess

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS