C# Class SobekCM.Core.BriefItem.BriefItemInfo

ファイルを表示 Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Add_Description ( string Term, string Value ) : BriefItem_DescTermValue

Add a single descriptive element, by term

Add_Description ( BriefItem_DescriptiveTerm TermObject ) : void

Add a fully built descriptive element, by term

Add_Description ( string Term, ReadOnlyCollection Value ) : void

Add a single descriptive element, by term

Add_Namespace ( string Prefix, string URI ) : void

Add a new namespace definition to this object

BriefItemInfo ( ) : System

Constructor for a new instance of the BriefItemInfo class

Get_Description ( string Term ) : BriefItem_DescriptiveTerm

Checks the description and returns any descriptions linked to the provided term

Page_Sequence_By_FileName ( string FileName ) : int

Look for the sequence for a page with a matching filename (without extension)

Method Details

Add_Description() public method

Add a single descriptive element, by term
public Add_Description ( string Term, string Value ) : BriefItem_DescTermValue
Term string Normalized term for this metadata element, as employed by the SobekCM system
Value string String version of this single value for a metadata term/type
return BriefItem_DescTermValue

Add_Description() public method

Add a fully built descriptive element, by term
public Add_Description ( BriefItem_DescriptiveTerm TermObject ) : void
TermObject BriefItem_DescriptiveTerm Fully built descriptive term element, as employed by the SobekCM system
return void

Add_Description() public method

Add a single descriptive element, by term
public Add_Description ( string Term, ReadOnlyCollection Value ) : void
Term string Normalized term for this metadata element, as employed by the SobekCM system
Value ReadOnlyCollection String version of this single value for a metadata term/type
return void

Add_Namespace() public method

Add a new namespace definition to this object
public Add_Namespace ( string Prefix, string URI ) : void
Prefix string Prefix used for this namespace throughout the object
URI string URI for the schema/namespace referred to by the prefix
return void

BriefItemInfo() public method

Constructor for a new instance of the BriefItemInfo class
public BriefItemInfo ( ) : System
return System

Get_Description() public method

Checks the description and returns any descriptions linked to the provided term
public Get_Description ( string Term ) : BriefItem_DescriptiveTerm
Term string Key for this term
return BriefItem_DescriptiveTerm

Page_Sequence_By_FileName() public method

Look for the sequence for a page with a matching filename (without extension)
public Page_Sequence_By_FileName ( string FileName ) : int
FileName string Name of the file, without the extension
return int