Sitefinity CMS

Telerik.Cms.Engine Send comments on this topic.
MetaInfo Constructor(String,MetaValueTypes,Boolean,Boolean,Boolean,Boolean,Object,Boolean)
See Also 
Telerik.Cms.Engine Namespace > MetaInfo Structure > MetaInfo Constructor : MetaInfo Constructor(String,MetaValueTypes,Boolean,Boolean,Boolean,Boolean,Object,Boolean)


key
The object used as key to access data.
type
The type of the data.
visible
The value indicating whether information is visible.
searchable
The value indicating whether information is searchable.
sortable
The value indicating whether information is sortable.
mandatory
The value indicating whether information is mandatory.
defaultValue
The default value
localizable
The value indicating whether information is localizable.
Initializes a new instance of MetaInfo struct for the specified parameters.  

 

Namespace: Telerik.Cms.Engine
Assembly: Telerik.Cms.Engine (in Telerik.Cms.Engine.dll)

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal key As String, _
   ByVal type As MetaValueTypes, _
   ByVal visible As Boolean, _
   ByVal searchable As Boolean, _
   ByVal sortable As Boolean, _
   ByVal mandatory As Boolean, _
   ByVal defaultValue As Object, _
   ByVal localizable As Boolean _
)
Visual Basic (Usage)Copy Code
Dim key As String
Dim type As MetaValueTypes
Dim visible As Boolean
Dim searchable As Boolean
Dim sortable As Boolean
Dim mandatory As Boolean
Dim defaultValue As Object
Dim localizable As Boolean
 
Dim instance As MetaInfo(key, type, visible, searchable, sortable, mandatory, defaultValue, localizable)
C# 
public MetaInfo( 
   string key,
   MetaValueTypes type,
   bool visible,
   bool searchable,
   bool sortable,
   bool mandatory,
   object defaultValue,
   bool localizable
)

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal key As String, _
   ByVal type As MetaValueTypes, _
   ByVal visible As Boolean, _
   ByVal searchable As Boolean, _
   ByVal sortable As Boolean, _
   ByVal mandatory As Boolean, _
   ByVal defaultValue As Object, _
   ByVal localizable As Boolean _
)
Visual Basic (Usage)Copy Code
Dim key As String
Dim type As MetaValueTypes
Dim visible As Boolean
Dim searchable As Boolean
Dim sortable As Boolean
Dim mandatory As Boolean
Dim defaultValue As Object
Dim localizable As Boolean
 
Dim instance As MetaInfo(key, type, visible, searchable, sortable, mandatory, defaultValue, localizable)
C# 
public MetaInfo( 
   string key,
   MetaValueTypes type,
   bool visible,
   bool searchable,
   bool sortable,
   bool mandatory,
   object defaultValue,
   bool localizable
)

Parameters

key
The object used as key to access data.
type
The type of the data.
visible
The value indicating whether information is visible.
searchable
The value indicating whether information is searchable.
sortable
The value indicating whether information is sortable.
mandatory
The value indicating whether information is mandatory.
defaultValue
The default value
localizable
The value indicating whether information is localizable.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also