342
HTML to MAML Converter Welcome Welcome to the HTML to MAML Converter. This utility is used to convert HTML files to Microsoft Assistance Markup Language (MAML) topic files so that they can be compiled into help files using the Sandcastle Help File Builder with the selected presentation style's look and feel. The utility is located in the .\Extras folder under the root help file builder installation folder (typically C:\Program Files (x86)\EWSoftware\Sandcastle Help File Builder). What is Conceptual Content? Conceptual content allows you to define non-API documentation that is included in the help file for usage notes, walkthroughs, tutorials, etc. Instead of HTML, conceptual content topics use Microsoft Assistance Markup Language (MAML). This is basically XML conforming to a well defined schema that describes the structure of the conceptual content much like XML comments describe the structure of the code comments. There is no layout or style information within the MAML files. Instead, they are ran through a series of XSL transformations using Sandcastle's BuildAssembler tool similar to the reference (API) content so that they match it in appearance and features. This allows you to utilize the various Sandcastle and third-party build components to alter and extend the presentation style used in the topics. The term "conceptual content" is actually a catch-all term used to refer to the various types of content that may appear in the help file. MAML actually defines several different content types, each used for a specific type of document (conceptual, glossary, how-to, reference, etc.). Each type has a specific structure with various required and optional XML elements. For more information on MAML, the various topic types, and the various elements that you can use within them, see the Sandcastle MAML Guide. The Converter Utility The purpose of this utility is to quickly convert a batch of HTML files (or .topic files used by the Sandcastle Help File Builder) into MAML topics to save you from having to do it manually. Since the conversion to MAML is not perfect, you will still need to review the topics afterwards to clean up any unresolved issues and To Do items

HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

  • Upload
    others

  • View
    16

  • Download
    0

Embed Size (px)

Citation preview

Page 1: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

WelcomeWelcometotheHTMLtoMAMLConverter.ThisutilityisusedtoconvertHTMLfilestoMicrosoftAssistanceMarkupLanguage(MAML)topicfilessothattheycanbecompiledintohelpfilesusingtheSandcastleHelpFileBuilderwiththeselectedpresentationstyle'slookandfeel.Theutilityislocatedinthe.\Extrasfolderundertheroothelpfilebuilderinstallationfolder(typicallyC:\ProgramFiles(x86)\EWSoftware\SandcastleHelpFileBuilder).

WhatisConceptualContent?Conceptualcontentallowsyoutodefinenon-APIdocumentationthatisincludedinthehelpfileforusagenotes,walkthroughs,tutorials,etc.InsteadofHTML,conceptualcontenttopicsuseMicrosoftAssistanceMarkupLanguage(MAML).ThisisbasicallyXMLconformingtoawelldefinedschemathatdescribesthestructureoftheconceptualcontentmuchlikeXMLcommentsdescribethestructureofthecodecomments.ThereisnolayoutorstyleinformationwithintheMAMLfiles.Instead,theyareranthroughaseriesofXSLtransformationsusingSandcastle'sBuildAssemblertoolsimilartothereference(API)contentsothattheymatchitinappearanceandfeatures.ThisallowsyoutoutilizethevariousSandcastleandthird-partybuildcomponentstoalterandextendthepresentationstyleusedinthetopics.

Theterm"conceptualcontent"isactuallyacatch-alltermusedtorefertothevarioustypesofcontentthatmayappearinthehelpfile.MAMLactuallydefinesseveraldifferentcontenttypes,eachusedforaspecifictypeofdocument(conceptual,glossary,how-to,reference,etc.).EachtypehasaspecificstructurewithvariousrequiredandoptionalXMLelements.FormoreinformationonMAML,thevarioustopictypes,andthevariouselementsthatyoucanusewithinthem,seetheSandcastleMAMLGuide.

TheConverterUtilityThepurposeofthisutilityistoquicklyconvertabatchofHTMLfiles(or.topicfilesusedbytheSandcastleHelpFileBuilder)intoMAMLtopicstosaveyoufromhavingtodoitmanually.SincetheconversiontoMAMLisnotperfect,youwillstillneedtoreviewthetopicsafterwardstocleanupanyunresolvedissuesandToDoitems

Page 2: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

notedintheconversionlog.TheconverterwilltransformtheHTMLtopicsintothegenericConceptualtopicformat.IfyourequirethatatopicconformtooneoftheotherMAMLtopicformatssuchasWalkthrough,HowTo,Glossary,etc.youwillneedtomakethenecessaryadjustmentsafterwards.

SeeAlsoOtherResourcesUsingtheConverterVersionHistoryLinkstoResources

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 3: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

LicenseThistopiccontainsthefollowingsections:

MicrosoftPublicLicense(Ms-PL)CopyrightNotices

MicrosoftPublicLicense(Ms-PL)Thislicensegovernsuseoftheaccompanyingsoftware.Ifyouusethesoftware,youacceptthislicense.Ifyoudonotacceptthelicense,donotusethesoftware.

1. Definitions

Theterms"reproduce,""reproduction,""derivativeworks,"and"distribution"havethesamemeaninghereasunderU.S.copyrightlaw.

A"contribution"istheoriginalsoftware,oranyadditionsorchangestothesoftware.

A"contributor"isanypersonthatdistributesitscontributionunderthislicense.

"Licensedpatents"areacontributor'spatentclaimsthatreaddirectlyonitscontribution.

2. GrantofRights

(A)CopyrightGrant-Subjecttothetermsofthislicense,includingthelicenseconditionsandlimitationsinsection3,eachcontributorgrantsyouanon-exclusive,worldwide,royalty-freecopyrightlicensetoreproduceitscontribution,preparederivativeworksofitscontribution,anddistributeitscontributionoranyderivativeworksthatyoucreate.

(B)PatentGrant-Subjecttothetermsofthislicense,includingthelicenseconditionsandlimitationsinsection3,eachcontributorgrantsyouanon-exclusive,worldwide,royalty-freelicenseunderitslicensedpatentstomake,havemade,use,sell,offerforsale,import,and/orotherwisedisposeofitscontributioninthesoftwareorderivativeworksofthecontributioninthesoftware.

Page 4: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

3. ConditionsandLimitations

(A)NoTrademarkLicense-Thislicensedoesnotgrantyourightstouseanycontributors'name,logo,ortrademarks.

(B)Ifyoubringapatentclaimagainstanycontributoroverpatentsthatyouclaimareinfringedbythesoftware,yourpatentlicensefromsuchcontributortothesoftwareendsautomatically.

(C)Ifyoudistributeanyportionofthesoftware,youmustretainallcopyright,patent,trademark,andattributionnoticesthatarepresentinthesoftware.

(D)Ifyoudistributeanyportionofthesoftwareinsourcecodeform,youmaydosoonlyunderthislicensebyincludingacompletecopyofthislicensewithyourdistribution.Ifyoudistributeanyportionofthesoftwareincompiledorobjectcodeform,youmayonlydosounderalicensethatcomplieswiththislicense.

(E)Thesoftwareislicensed"as-is."Youbeartheriskofusingit.Thecontributorsgivenoexpresswarranties,guaranteesorconditions.Youmayhaveadditionalconsumerrightsunderyourlocallawswhichthislicensecannotchange.Totheextentpermittedunderyourlocallaws,thecontributorsexcludetheimpliedwarrantiesofmerchantability,fitnessforaparticularpurposeandnon-infringement.

CopyrightNoticesAllcodeisCopyright©2006-2008,EricWoodruff,AllRightsReserved.

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 5: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

UsingtheConverterThistopicwillwalkyouthroughusingtheconvertertoconvertabatchofHTMLfilestoMAMLtopics.

UsingtheConverter1. Theconverterisaconsolemodeapplication.Assuch,opena

commandpromptinordertorunit.Theutilityislocatedinthe.\Extrasfolderundertheroothelpfilebuilderinstallationfolder(typicallyC:\ProgramFiles(x86)\EWSoftware\SandcastleHelpFileBuilder).

Note

TheconverterusesanXMLfilethatcontainstheconversionrules.Thisfilemustresideinthesamefolderastheconverter'sexecutable.

2. Theconvertertakesafoldernamecontainingthefilestoconvertasthefirstparameterandthenameofanewfolderinwhichtoplacetheconvertedtopicsandsupportingfilesasthesecondparameter.Thefoldernamesmustbedifferentbutthenewfolderdoesnothavetoexistandwillbecreatedifnecessary.Belowisanexamplecommandline:

Anoptionalparameter,/companion,canalsobespecifiedtocreatecompanionfilesfortheconvertedtopics.Thisisusefulifyourdocumentationtool,suchasDocProject,makesuseofthemtostorethetopictitle,helpattributes,andindexkeywords.

ConvertHtmlToMaml.exeC:\MyLibrary\DocC:\MyLibrary\Content

Copy

ConvertHtmlToMaml.exeC:\MyLibrary\DocC:\MyLibrary\Content/companion

Copy

ExampleCommandLine

CreateOptionalCompanionFiles

Page 6: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Anoptionalparameter,/moveIntro,canalsobespecifiedtoindicatethattheconvertershouldmoveanytopictextprecedingthefirstsectionelementcreatedintotheintroductionelement.ThisoptionmayproducebetterresultsincaseswhereyourHTMLtopicscontainleadingtextbeforethefirstheaderelement,suchasanH1element,thatshouldappearintheMAMLtopic'sintroductionelement.IfyourtopicslackanHTMLheaderelement,thisoptionwilltypicallymovetheentiretopictextintotheintroductionelementwhichisprobablynotwantedandtheoptionshouldbeomitted.Inthatcase,adefaultintroductionelementisinsertedintoeachtopicandyoucanmovetextintoitduringtheclean-upphase.

Note

Whilethedestinationfolderwillbecreatedifitdoesnotalreadyexist,itwillnotbeclearedofanyexistingcontent.Assuch,youcanconvertmultiplebatchesoffilesintoonefolder.However,youshouldrenametheconversionlogandthesupportingfilesbetweenrunsifyouwanttokeepthem.

3. Astheconverterruns,itwritesinformationtotheconsoleasitgoes.Thisinformationisalsosavedtoalogfileinthedestinationfolder.

4. Oncefinished,thereviewprocesscanbegintocleanupanyissuesandToDoitemsintheconvertedtopics.Thelogfilecanhelpyoulocateitemsthatneedattention.

SeeAlsoOtherResourcesTheConversionProcessAdditionalOutputFilesWarningsandToDoItemsCommonIssuesandSolutions

ConvertHtmlToMaml.exeC:\MyLibrary\DocC:\MyLibrary\Content/moveIntro

CopyMoveLeadingTexttoIntroduction

Page 8: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TheConversionProcessUnlikeMAMLtopicswhichmustbewell-formedXML,HTMLfilesarenotnecessarilyasstrictintheirconformancetosuchrules.Endtagsarenotalwayspresent,the"/"inself-closingtagsisnotalwayspresent,entitiesarenotalwaysencodedcorrectlyifatall,etc.Assuch,theHTMLtoMAMLconverterextractskeypartsoftheHTMLfilesandusesaseriesofregularexpressionspairedwithmatchevaluatorstoaltertheHTMLelementsbyreplacingthemwiththeirMAMLequivalentsorremovingthemaltogether.

WhilethiswillnotguaranteeavalidMAMLtopic,itwillguaranteethatnoinformationislostduringtheconversion.Buildingtheconvertedtopicsrevealsanymissingendtags,unencodedentities,etc.whichareeasilyfixedbyeditingthetopics.

TheconversionrulesarestoredinanXMLconfigurationfile.Thisfilemustresideinthesamelocationastheconverter'sexecutable.

TheConversionProcessConversionofatopicfollowsthisgeneralprocedureusingtheruledefinitionsfoundintheconfigurationfile:

1. Extractthekeypartsofthetopic(metadatasuchasthetitle,attributes,andindexkeywords,andthebodytext).

2. Replacenamedentitieswiththeirnumericequivalent.

3. ReplacemarkupwrapperHTMLelementswithaplaceholderinthetextsoasnottoaltertheircontentinlaterprocessing.

4. RemoveallHTMLelementswithnoMAMLequivalent.

5. ReplaceallHTMLelementsthatdohaveMAMLequivalents.

6. ThefollowingHTMLelementsareprocessedbasedonthecontextinwhichtheyareused:

a-LinkstotopicsandexternalURLs

code-Inlinecodeandcodeblocks

Page 9: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

h1-h6-Sectionheadings

img-Imagelinks

see-SeeAlsoreferences

Theseelementsshouldnotappearinanyoftheotherrules.

7. Oncedone,themarkupwrapperplaceholdersarereplacedwiththeiractualmarkupenclosedinaMAMLmarkupelement.

8. Theconvertedtopicissavedtothedestinationfolderalongwithsomesupportingfiles.

SeeAlsoOtherResourcesUsingtheConverter

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 10: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MetadataTopicElementsCertaintopicelementsnotrepresentedintherulesfilearesearchedforinordertoextractcommonmetadatathatwillbeassociatedwiththeconvertedtopicfiles:

TheTitleElementIndexKeywordElementsHelpAttributeElementsSandcastleHelpFileBuilderSpecialCommentTags

Note

Allelementnamesarematchedcase-insensitively.

TheTitleElementTheHTMLfileshouldcontainastandardtitleelementthatdefinesthepagetitle.Ifnotfound,itwillbeleftblankinanyofthesupportingcontentfiles.

IndexKeywordElementsIftheparserfindsanyMSHelp:Keywordelements,itwillextracttheindexnameandthetermandwillsavethemtothesupportingcontentfiles.

HelpAttributeElementsIftheparserfindsanyMSHelp:Attrelements,itwillextracttheattributenameandvalueandwillsavethemtothesupportingcontentfiles.Ifthenameoftheattributeis"Abstract",thecontentoftheattributeiswrittenouttothetopicfileinthesummaryelement.Thiselementbecomestheabstractwhenthetopiciscompiledforthehelpfile.

Page 11: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

SandcastleHelpFileBuilderSpecialCommentTagsIfthefileparserfindsanyofthespecialcommenttagsusedbytheSandcastleHelpFileBuildersuchas@TOCExclude,@SplitTOC,@DefaultTopic,and@SortOrderitwillextractthemandusethemwhengeneratingthesupportingcontentfilestomaintaintheexistinglayoutofthetopics.

SeeAlsoOtherResourcesTheConversionProcess

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 12: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ConversionRuleElementsTheconversionrulesaredefinedinanXMLfilethatconsistsoffivemainparts.Eachpartisdescribedinthefollowingtopics.Thedefaultrulesetshouldworkquitewellformostdocumentsbutyouarefreetoalterandextendtherulesshouldtheynotmeetyourrequirements.

TheConversionRulesElementsSelectatopicbelowtolearnmoreabouteachelement:

TheBodyExtractElement

EntitiesRules

MarkupWrapperRules

RemoveRules

ReplaceRules

Note

Withtheexceptionofentitynamevalues,allotherattributeandregularexpressionrulevaluesarematchedcase-insensitively.

SeeAlsoOtherResourcesTheConversionProcess

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 13: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TheBodyExtractElementThiselementdefinestheregularexpressionusedtoextractthebodyoftheHTMLdocument.

RuleProcessingBydefaultitextractsthe<body>(.htmlfiles)or<bodyText>(.topicfiles)elementcontent.The"body"partoftheregularexpressionmustbeanamedgroupcalledBody.Oneexamplewhereyoumightwanttomodifythisisifyourdocumentbodiescontainseveralsectionscontainedwithindivelements.Youcanaltertheexpressiontoextractthespecificdivthatcontainsjustthebodytextthusexcludingtheotherunwantedpartsofthedocument.

Note

SinceitresidesinanXMLfile,anyspecialcharactersintheexpressionsuchas<,>,&,",and'mustbeencodeasshownintheexamplebelow.Theregularexpressionismatchedcase-insensitively.

SeeAlsoOtherResourcesTheConversionProcessConversionRuleElements

Copyright©2008-2015,EricWoodruff,Allrightsreserved

<!--Note:Lineswrappedfordisplaypurposes-->

<BodyExtractexpression="&lt;\s*div\s*class=&quot;Main&quot;[^&gt;]*?&gt;

(?&lt;Body&gt;.*?)&lt;\s*/\s*div?\s*&gt;"/>

CopyExampledivExtract

Page 15: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

EntitiesRulesThissectiondefinesnamedentitiesthatmustbeconvertedtotheirnumericequivalentintheMAMLtopicfiles.

RuleProcessingThe.NETXMLparseronlyrecognizesthecommonASCIInamedentities(&amp;,&lt;,&gt;,&quot;,and&apos;).OnceconvertedtoMAML,thetopicsareprocessedasXMLfilesand,assuch,anyothernamedentitiesinthetopicwillcausethebuildprocesstofail.ThissectiondefinesallothernamedentitiescommonlyfoundinHTMLfilesandtheirreplacementnumericequivalent.Duringconversion,anynamedentitiesfromthissectionfoundinatopicarereplacedwiththeirnumericform(i.e.&copy;wouldbecome&#169;).

TheentriesconsistofEntityelementswithanameattributethatdefinesthenamedentityandavalueattributethatdefinesthenumericvaluetouseasitsreplacement.

Note

Unliketheotherrules,entitynamevaluesarematchedcase-sensitivelyasthenumericvaluesforuppercaseandlowercasenamevaluesdifferasshownintheexamplebelow.

SeeAlso

<Entities>

<Entityname="Aacute"value="193"/>

<Entityname="aacute"value="225"/>

<Entityname="Acirc"value="194"/>

<Entityname="acirc"value="226"/>

</Entities>

CopyExampleEntitiesEntries

Page 16: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

OtherResourcesTheConversionProcessConversionRuleElements

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 17: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MarkupWrapperRulesThissectiondefinesHTMLelementsthatthemselvesorwhosecontentmustberetainedasHTMLintheconvertedtopics.

RuleProcessingCertainHTMLelementsmayneedspecialhandlinginordertoreplacetheminaMAMLtopicortheymayneedtobeleftas-is.Thissectionletsyoudefinesuchelements.Whenconverted,theaffectedelementiswrappedinaMAMLmarkupelementprecededbya"<!--TODO:-->"comment.Duringthereviewprocess,youcandecidewhethertokeeptheelementorremoveitinfavororsomealternatecontent.

TheentriesconsistofTagelementswithanameattributethatdefinestheHTMLelementtobewrapped.

Note

Allnamevaluesarematchedcase-insensitively.

Caution

Itisnotrecommendedthatanyotherelementsbeaddedtothecurrentlydefinedlist.WhileitispossibletopassthroughHTMLusingthemarkupMAMLelement,itshouldnotbeabusednorshoulditbeusedwhereMAMLequivalentsdoexist.

<MarkupWrapper>

<Tagname="applet"/>

<Tagname="bgsound"/>

<Tagname="button"/>

<Tagname="embed"/>

<Tagname="fieldset"/>

<Tagname="form"/>

CopyMarkupEntries

Page 18: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

SeeAlsoOtherResourcesTheConversionProcessConversionRuleElements

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

<Tagname="frameset"/>

<Tagname="iframe"/>

<Tagname="ilayer"/>

<Tagname="input"/>

<Tagname="label"/>

<Tagname="layer"/>

<Tagname="map"/>

<Tagname="noembed"/>

<Tagname="nolayer"/>

<Tagname="noscript"/>

<Tagname="object"/>

<Tagname="script"/>

<Tagname="select"/>

<Tagname="sound"/>

<Tagname="textarea"/>

<Tagname="xml"/>

</MarkupWrapper>

Page 19: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

RemoveRulesThissectiondefinesHTMLelementsthatmustberemovedfromtheconvertedtopicsbecausetheylackaMAMLequivalent.

RuleProcessingCertainHTMLelementshavenoMAMLequivalentandservenopurposeiftheyappearoutsideofanelementhandledbythemarkupwrapperrules.Insuchcases,theseelementsaresimplyremoved.Anytextwithintheelementswillappearinthetopicasnormaltext.

TheentriesconsistofTagelementswithanameattributethatdefinestheHTMLelementtoberemoved.

Note

Allnamevaluesarematchedcase-insensitively.

<Remove>

<Tagname="area"/>

<Tagname="base"/>

<Tagname="basefont"/>

<Tagname="bdo"/>

<Tagname="blink"/>

<Tagname="center"/>

<Tagname="col"/>

<Tagname="colgroup"/>

<Tagname="del"/>

<Tagname="font"/>

<Tagname="frame"/>

<Tagname="include"/>

<Tagname="ins"/>

<Tagname="isindex"/>

<Tagname="keygen"/>

CopyRemoveEntries

Page 20: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

SeeAlsoOtherResourcesTheConversionProcessConversionRuleElements

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

<Tagname="legend"/>

<Tagname="link"/>

<Tagname="marquee"/>

<Tagname="meta"/>

<Tagname="multicol"/>

<Tagname="nextid"/>

<Tagname="nobr"/>

<Tagname="noframes"/>

<Tagname="optgroup"/>

<Tagname="option"/>

<Tagname="param"/>

<Tagname="plaintext"/>

<Tagname="rt"/>

<Tagname="ruby"/>

<Tagname="s"/>

<Tagname="spacer"/>

<Tagname="strike"/>

<Tagname="style"/>

<Tagname="tbody"/>

<Tagname="tfoot"/>

<Tagname="wbr"/>

</Remove>

Page 21: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ReplaceRulesThissectiondefinesHTMLelementsthatcanbereplacedwithaMAMLequivalent.

RuleProcessingTherulesinthissectionmakeanattemptatreplacingHTMLelementswiththeclosestMAMLequivalent.TheentriesconsistofTagelementswithvariousattributecombinationsthatdefinetheHTMLelementanditsreplacement.NestedMatchelementscanbeusedtofurtherrefinehowthereplacementoccurs.

TheTagelementcancontainthefollowingattributes:

Attribute Purposename TheHTMLelementtoreplace.Thisattributeis

required.

startTag Thevaluetouseasthereplacementopeningtag.Ifomittedandnonestedmatchrulesaremet,theelementwillberemoved.Ifthereplacementvaluecontains"<"or">",thevalueisusedasaverbatimreplacement.Ifnotpresent,thereplacementiswrappedin"<"and">".Anyattributesandtheself-closing"/"areincludedifnecessary.

endTag Thevaluetouseasthereplacementclosingtag.Normally,thisisomittedandthestartTagvalueisusedfortheclosingtagaswell.However,ifitdiffers,thiscanbeusedtospecifythevalueforit.AswithstartTag,ifthereplacementvaluecontains"<"or">",thevalueisusedasaverbatimreplacement.Ifnotpresent,thereplacementiswrappedin"</"and">".

attributes ThiscanbeusedtodefineareplacementsetofattributesthatwillappearontheMAML

Page 22: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

element.Ifomitted,allattributesfromtheHTMLelementareremovedandtheMAMLelementwillnothaveanyattributes.Ifsettothevalue"@Preserve",theHTMLattributeswillbepreservedandwillbeaddedasattributesonthereplacementMAMLelementas-is.Foranyothervalue,thespecifiedtextreplacestheHTMLattributes.IfstartTagcontains"<"or">",thisattributeisignored.

Note

Allnameandregularexpressionvaluesarematchedcase-insensitively.

DefiningAdditionalMatchRulesIncertaincases,itmaybenecessarytodefineadditionalmatchconditionstodefinethereplacementMAMLelement.Todothis,addoneormoreMatchelementsaschildrenoftherelatedTagelement.

TheMatchelementcancontainthesameattributesastheTagelementinanyneededcombination.Inaddition,ithasarequiredexpressionattributethatdefinestheregularexpressionusedtomatchthespecificinstanceofanHTMLelement.Ifamatchismade,theotherattributesontheMatchelementareusedinsteadoftheattributesontheparentTagelement.Ifnoneoftheexpressionsresultinamatch,theattributesontheparentTagelementareevaluatedasusual.

ExampleReplacementRulesNote

SincetheyresidesinanXMLfile,anyspecialcharactersintheexpressionssuchas<,>,&,",and'mustbeencodeasshownintheexamplebelow.

<Replace>

<Tagname="abbr"startTag="phrase"/>

<Tagname="b"startTag="legacyBold"/>

CopyExampleReplaceEntries

Page 23: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

SeeAlsoOtherResourcesTheConversionProcessConversionRuleElements

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

<Tagname="br"startTag="&lt;para/&gt;"/>

<Tagname="comment"startTag="&lt;--"endTag="--&gt;"

<Tagname="div">

<!--Ifamatchfor'class="deprecated"'isfound,replaceitwith

analert.Ifnotmatched,theelementisremoved.-->

<Matchexpression="class=&quot;deprecated&quot;"

attributes="class=&quot;warning&quot;"/>

</Tag>

<!--Replacepretagswithacodeelementwithnolanguageortitle.-->

<Tagname="pre"startTag="code"attributes="language=&quot;none&quot;title=&quot;&quot;"

<!--However,ifalang/languageattributeisdefined,preserve

theHTMLattributes.-->

<Matchexpression="lang(uage)?="startTag="code"

</Tag>

<!--Likediv,replacespanifpossiblebasedonclassorremoveit-->

<Tagname="span">

<Matchexpression="class=&quot;code&quot;"startTag

<Matchexpression="class=&quot;command&quot;"startTag

<Matchexpression="class=&quot;foreignPhrase&quot;"

</Tag>

</Replace>

Page 24: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

Context-basedConversionsThefollowingHTMLelementsmustbeconvertedbasedontheircontextwithinthetopic.Sincethecontextishardtotranslateintoaneasilydefinedruleintherulesfile,theelementsdescribedinthistopicarehandledbytheapplicationitself.Assuch,theseelementsshouldnotappearinanyofthepreviouslydefinedrules.

AnchorElementsCodeElementsHeadingElementsImageElementsSeeElements

Note

Allelementnamesarematchedcase-insensitively.

AnchorElementsHTMLanchorelements(a)arereplacedasfollows:

Anchorswithanameattributeareassumedtobein-pagelinktargets.TheMAMLequivalentofsuchalinktargetisanaddressattributeonanelementsuchassection,definedTerm,listItem,etc.Tryingtoplaceanaddressattributeontheappropriateelementisalmostimpossiblesotheseanchortypesarereplacedwitha"<!--TODO:-->"commentforlaterreview.Awarningisalsowrittentothelogfile.

AnexceptionistargetsinsideofheadingHTMLelements.Ifproperlyformatted,thesewillbeconvertedtoaddresselementsontherelatedsectionelementwhentheheadingelementsareprocessed(seebelow).

Ifthelink'sURLcontains"://",startswith"mailto:",orthelinkspecifiesatargetattributeitisconvertedtoanexternalLink.

Allotherlinksareconvertedtolinkelements.IfthetopicID

Page 25: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

cannotberesolvedusingthefilenamefromtheHTMLhrefattribute,itisreplacedwitha"<!--TODO:-->"commentforlaterreviewandawarningiswrittentothelogfile.

Note

Linkinnertextwillberetainedifitdiffersfromthetargettopic'stitle.Inaddition,anin-pagelinksuffixwillberetained(i.e.SomePage.htm#InPageLink).

CodeElementsThenormalcodeHTMLelementisequivalenttotheMAMLcodeInlineelement.However,tosupportconversionoftheSandcastleHelpFileBuilderoptionofincludingcodeblocksfromexternalfiles,thiselementisreplacedbasedonthefollowingcontexts:

Ifnoattributesarepresentontheelementandnocarriagereturn/linefeedsarepresentintheelement'sinnertext,itisreplacedwithaMAMLcodeInlineelement.

IfanyattributesarepresentontheHTMLelementorifitsinnertextcontainsmultiplecarriagereturn/linefeeds,itisreplacedwithaMAMLcodeelementandanyattributesarepreserved.

Intheeventthatnoattributesarepresentandonlyasinglecarriagereturn/linefeedpairarepresentintheinnertext,itisassumedthatthevaluesimplyspansalinebreakanditisreplacedwithacodeInlineelementinstead.

HeadingElementsHTMLheadingelements(h1throughh6)arereplacedwithasectionelement.Thecontentoftheheadingelementbecomesthesectiontitleandisplacedinthesection'stitleelement.Thetextfollowingtheheadingbecomesthecontentofthesection.Whenanewheadingelementisencountered,closingsectionelementsareinsertedasneeded.Closingsectionelementsarealsoaddedtotheendofthebodytextifatleastoneheadingwasencounteredtocloseoffthefinalsection.

Anchorelementsareprocessedbeforeheadingelements.Assuch,

Page 26: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

ifanamedanchorisreplacedwithaToDocommentanditappearswithintheheadingtag,itwillbeconvertedtoanaddressattributeonthesectionautomaticallyasshownintheexamplebelow.Thissavesyoufromhavingtodoitmanuallybutyoushouldstillreviewtheupdatetomakesurethatitisappropriate.

MAMLsectionscanbenestedwithinoneanother.However,attemptingtodothisduringconversionwouldbeverydifficultandwouldmostlikelyresultinchangesthatwerenotintendedorarenotappropriate.Assuch,noattemptismadetonestsectionswithahigherheadingnumberintoprioroneswithalowerheadingnumber(i.enestingh2sectionswithinanh1section).Theheadingelementthatcausedthesectiontobecreatedisaddedinacommentfollowingthesectionelement.Youcanreviewthetopicafter

Seethe<ahref="#BuildLogFile">BuildLogFile</a>property

.

.

.

<h3><aclass="Reference"name="BuildLogFile">TheBuildLogFileProperty

<p>Sectioncontent</p>

Copy

Seethe<linkxlink:href="#BuildLogFile">BuildLogFile

.

.

.

<sectionaddress="BuildLogFile"><!--h3-->

<title>TheBuildLogFileProperty</title>

<content>

<para>Sectioncontent</para>

</content>

</section>

Copy

OriginalHTML

ConvertedMAML

Page 27: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

conversiontodecidewhethertoleavethetopicasitisorreworkthecontenttonestsectionswithinoneanother.

ImageElementsHTMLimageelements(img)arereplacedwithanexternalLinkifthesrcattributecontains"://".Ifnot,theimageisassumedtobelocaltotheprojectandisconvertedtoamediaLink.NotethatitisnotpossibletodeterminewhetherornottouseamediaLinkInlineelementinstead.Assuch,youwillneedtoupdatethelinkduringthereviewafterconversion.FormediaLinkelements,youmayneedtoaddacaptionelementifneededandotherattributestoproperlysettheimagealignmentaswell.

Whenanewimageisencountered,itisaddedtothemediacontentfilecreatedbytheconversionprocessandtheimagefileiscopiedtotheMedia\folderunderthedestinationfolder.Thesourceimagelocationisdeterminedbycombiningthesourceconversionfolderwiththepathfromthesrcattribute.Iftheimagefilecannotbefound,thereplacementelementisprefixedwitha"<!--TODO:-->"commentnotingthemissingfileandawarningiswrittentothelogfile.

SeeElementsTheSandcastleHelpFileBuildersupportsseeelementswithinadditionalcontentHTMLfiles.Whenencountered,theseareconvertedtolinkstothematchingAPImembertopics.Tomatchthisbehavior,ifaseeelementisencounteredduringconversion,itisconvertedtoanappropriatecodeEntityReferenceelement.

Thehelpfilebuilderhastheabilitytoresolveareferencebasedonapartialname.However,MAMLrequiresthatthenamebefullyqualified.Assuch,ifapartialnameisencountered,itwillstillbeconvertedbutawarningwillbewrittentothelogfile.Thesewillneedtobefixedduringthereviewtoreplacethemwiththeirfullyqualifiednames.

SeeAlsoOtherResourcesTheConversionProcess

Page 28: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

ConversionRuleElements

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 29: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

AdditionalOutputFilesThefollowingfilesarecreatedinadditiontotheconvertedtopicfilesandcanbefoundinthedestinationfolderaftertheconversionhascompleted.

_Conversion.logThisfilecontainstheoutputfromtheconversionprocess.RefertoittofindanywarningsandnotesonToDoitemsthatneedattention.

_ContentTokens.tokensTheSandcastleHelpFileBuilderallowscustomtagstoappearintheadditionalcontentfilesthatareresolvedatbuildtimeintoprojectpropertyvalues.SinceitisnotallowabletoplacethemdirectlyinMAMLtopics,theyareextractedandreplacedwithatoken.ThetagsinthetokenfilewillbereplacedatbuildtimewiththeirprojectvaluesandBuildAssemblerwillreplacethetokensinthetopicswiththeresultingtokenvalue.Ifnoreplacementtagsarefound,thetokenfilewillnotbecreated.

_ContentLayout.contentThisfilecontainsthecontentlayoutbasedontheconvertedtopics.Thiscanbeaddedtoahelpfilebuilderproject(version1.8.0.0orlater)alongwiththeconvertedfilesandfoldersandeditedtosetthelayoutofthetopicsinthecompiledhelpfile.Ifusingsomeotherdocumentationtool,youwillneedtoimportthetopicsanddefinetheirlayoutusingwhatevertoolsthatitmayprovide.

TheMediaFolderThisfolderwillcontainthemediafiles(images)foundduringtheconversionprocess.Thesefilescanbeaddedtothehelpproject.

Media\_MediaFiles.xmlThisfileisthemediacontentfilethatcontainstheimageIDsandalternatetextvaluesforimagesreferencedinmediaLinkelementsintheconvertedtopics.Itcanbeaddedtothehelpprojectorimporteddependingonhowyourdocumentationtoolmakesuseofsuchfiles.

Page 30: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

SeeAlsoOtherResourcesTheConversionProcessWarningsandToDoItems

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 31: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

WarningsandToDoItemsThistopicdescribesthevariouswarningsandToDoitemsyouwillseeintheconversionlogfileandtheconvertedtopics.

WarningsThefollowingwarningsmayappearinthelogfile.

Warning:Foundunknowntag[tag]whichwillberemovedThiswarningappearsifanHTMLelementisencounteredthatisnotcoveredbyoneoftherulesdefinedintheconfigurationfile.Insuchcases,theunknowntagwillberemoved.

Warning:Imagefile'[file]'notfoundThiswarningappearswhenanHTMLimagelinkisconvertedtoamediaLinkandthesourcefilecouldnotbefound.Whilethelinkwillstillbecreatedandanentrymadeinthemediacontentfile,thecorrespondingsourcefilewillnotbefoundinthemediafolderafterconversion.Youwillneedtomanuallylocatethefileandaddittotheproject.

Warning:Namedanchor[id]needsreviewThiswarningappearswhenanHTMLanchorelementwithanameattributeisencountered.ThisisareminderthatyouwillneedtoeditthetopicandapplyanaddressattributewiththespecifiedIDtotheappropriateMAMLelement.RefertotheSandcastleMAMLGuideforinformationonwhichelementssupportanaddressattribute.

Warning:Referencetocodeentity[id]isnotfullyqualifiedThiswarningappearsifacodeEntityReferenceisaddedandthetargetspecifiedinthesourceHTMLfileisnotafullyqualifiedname.Youwillneedtoupdatethesetospecifythefullyqualifiedname.Ifnot,thereferencewillnotberenderedasalinkwhenthetopicisbuilt.

Warning:Unabletoresolvetopiclinkto'[file]'ThiswarningappearswhenthetargetfileofanHTMLanchorcouldnotbefoundinanyoftheconvertedtopics.Insuchcases,aToDoentryinthetopicreplacesthelinkandyouwillneedto

Page 32: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

locatethefileandaddthelinkwhenreviewingthetopic.

Warning:Unknownentityencountered:[entity]Thiswarningappearsifanamedentityisencounteredthatisnotdefinedintheentityconversionrules.Insuchcases,theentityispassedthroughtotheconvertedtopicas-is.Whenyoubuildthetopic,itwillmostlikelyfailbecausethe.NETXMLparserwillnotrecognizeit.Theentitywillneedtobecorrectedorremoved.

ToDoItemsWhilereviewingtopicsafterconversion,youwillseevarious"<!--TODO:-->"comments.Thefollowingitemsdescribewhateachofthemmeans.

TODO:Addnamedanchor:[id]ThiscommentappearsintheplaceofanamedHTMLanchor.ThisisareminderthatyouwillneedtoapplytheindicatedIDasanaddressattributeontheappropriateMAMLelementlocatednearthecomment.RefertotheSandcastleMAMLGuideforinformationonwhichelementssupportanaddressattribute.

TODO:Missingsourceimage:[file]ThiscommentappearswhenanHTMLimagelinkisconvertedtoamediaLinkandthesourcefilecouldnotbefound.Whilethelinkwillstillbecreatedandanentrymadeinthemediacontentfile,thecorrespondingsourcefilewillnotbefoundinthemediafolderafterconversion.Youwillneedtomanuallylocatethefileandaddittotheproject.

TODO:MoveintroductiontexthereThisToDoitemwillbeseenintherequiredintroductionsectionthatisaddedtoeverytopic.Sincetheconversionprocesscannotguesswhattextyoumightwanttoappearthere,itleavesitforyoutohandleduringthereview.

TODO:ReferencenotfullyqualifiedThiscommentappearsnexttoacodeEntityReferenceinwhichthetargetisnotafullyqualifiedname.Youwillneedtoupdatethereferencetospecifythefullyqualifiedname.Ifnot,thereferencewillnotberenderedasalinkwhenthetopicisbuilt.

TODO:Reviewmarkup

Page 33: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

ThiscommentprecedesanyHTMLelementswrappedintheMAMLmarkupelement.Thecontentoftheelementshouldbereviewedtoseeifitshouldberetained,removed,oreditedtouseotherappropriateMAMLelements.

TODO:Unknowntopiclink:[file]ThiscommentappearsinplaceofanHTMLanchorwhentheindicatedtargetfile/IDcouldnotbefoundinanyoftheconvertedtopics.Insuchcases,youwillneedtolocatethefileandaddthelinkwhenreviewingthetopic.

SeeAlsoOtherResourcesTheConversionProcessAdditionalOutputFiles

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 34: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

CommonIssuesandSolutionsThistopiccoverssomecommonissuesthatyouwillencounterwhenreviewingtopicsafterconversionalongwithtipsonsolvingthem.

MissingendelementsThesecanbefoundbyperformingabuildwithyourpreferreddocumentationtool.Theerrormessagewilllistthefailingtopicalongwiththeelementname(s)andthelinenumberandcolumnwherethestartingandendingelementsdidnotmatchup.Tofixtheissue,editthetopicandaddthemissingendelementinthecorrectlocation.

Ill-formedorunencodedentitiesHTMLisquiteforgivingwhenitcomestoill-formedorunencodedentitiesbutXMLisnot.Examplesincludemissingtheendingsemi-colon(&ltratherthan&lt;)ornotencodingitatall(using&&inexamplecoderatherthan&amp;&amp;).Thesecanalsobefoundbydoingabuildandlocatingtheoffendingentityviatheinformationprovidedintheerrormessage.

TableheaderformattingislostWhenanHTMLtableisconvertedtoMAML,anythelementsareconvertedtotheequivalententryMAMLelement.Thisresultsintheheadercellbeingrenderedasanormalcellinthetable.Inordertorenderthecellsusingthetableheadingstyle,wrapthecontainingrowelementtoatableHeaderelement.Forexample:

<table>

<tableHeader>

<row>

<entry><para>Column1</para></entry>

<entry><para>Column2</para></entry>

</row>

</tableHeader>

<row>

<entry><para>Value1</para></entry>

Copy

Page 35: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

ImagelinktypeandalignmentAsnotedintheContext-basedConversionstopic,youmayneedtochangemediaLinkelementstomediaLinkInlineelementswhereappropriate.Inaddition,youmayneedtoaddcaptionsand/orsetthealignmentattributesbasedonyourpreferences.

ParagraphspacingisinconsistentOmittingparaelementsaroundparagraphsorusingself-closingparaelementscancausesomeinconsistentspacingbetweenparagraphs.Tomakeitconsistent,wrapallparagraphsinopeningandclosingparaelements.

SeeAlsoOtherResourcesUsingtheConverterTheConversionProcess

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

<entry><para>Value2</para></entry>

</row>

<row>

<entry><para>ValueA</para></entry>

<entry><para>ValueB</para></entry>

</row>

</table>

Page 36: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

LinkstoResourcesThistopicscontainslinkstovariousresourcesthatyoumayfinduseful.

LinkstoResourcesMicrosoft.NETFrameworksandSDKs.

ThelatestversionoftheSandcastleHelpFileBuilder(currentlythev2015.10.10.0releaseasofOctober10,2015).

TodiscusstheSandcastletoolsandextras,suggestnewfeatures,reportbugs,andrequesthelpusingthem,visittheSandcastleHelpFileBuilderprojectsite.

Fordiscussionandquestionsabouthelpsystemsingeneral,visittheVisualStudioGeneralQuestionsforum.

TheretiredMicrosoftDeveloperDocumentationandHelpSystemforummayalsoprovideinformationonolderhelpsystems.

MAMLInformationandGuidesForacomprehensivelistofMAMLdocumentationtagsandadescriptionoftheirattributesandusageseetheSandcastleMAMLGuidealsoincludedwiththehelpfilebuilder.

Forgeneralbackgroundinformation,seetheWikipediaentryMicrosoftAssistanceMarkupLanguageor,forschemainformation,seetheMAMLinformationathelp-info.de.

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 37: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

GlossaryA|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z

CconceptualbuildAbuildthatusesSandcastletoproducehelpfiletopicsusinginformationextractedfromconceptualcontenttopicsandtheirrelatedfiles.

SeeAlso:referencebuild,Sandcastle

conceptualcontentAtopicfilethatcontainsconceptualcontent.Thesecanbeusedtoaddusagenotes,walkthroughs,tutorials,etc.toahelpfile.

GGloballyUniqueIdentifier,GUIDAuniquevaluethatisassociatedwitheachconceptualtopicandimageinaproject.Wheninsertinglinkstotopicsorimages,theIDisusedtorefertothem.Thisallowsyoutoalterthenamesorlocationsofthetopicfileswithouthavingtochangethenameorlocationineachtopicthatreferencesthem.

MMAMLAnacronymthatstandsforMicrosoftAssistanceMarkupLanguage.ConceptualcontenttopicsarecomposedofMAMLelements.

mediacontentfile

Page 38: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

ThisfilecontainsinformationabouttheimagesreferencedinmediaLinkandmediaLinkInlineelementsinconceptualcontent.

RreferencebuildAbuildthatusesSandcastletoproducehelpfiletopicsusinginformationextractedfrommanagedassembliesandtheirassociatedXMLcommentsfiles.

SeeAlso:conceptualbuild,Sandcastle

SSandcastleSandcastleisasetoftoolsoriginallyproducedbyMicrosoftthatcanbeusedtobuildhelpfilesfor.NETmanagedlibraries,conceptualcontent,oramixofboth.MicrosoftofficiallydiscontinueddevelopmentinOctober2012.TheSandcastletoolshavebeenmergedwiththeSandcastleHelpFileBuilderprojectandaredevelopedandsupportedtherenowaspartofthatproject.

SeeAlso:SandcastleHelpFileBuilder

SandcastleHelpFileBuilder,SHFBTheSandcastleHelpFileBuilderisastandalonetoolusedtoautomateSandcastle.ItconsistsofaGUIfrontendthathelpsyoumanageandbuildhelpfileprojects.ItusesastandardMSBuildformatprojectfilewhichcanalsobybuiltfromthecommandlineusingMSBuildorintegratedintoVisualStudiobuildsorotherbuildscriptstoproduceahelpfilewhenyourapplicationprojectsarebuilt.Inaddition,itprovidesasetofadditionalfeaturesbeyondthosesuppliedwithSandcastlethatcanimproveyourhelpfileandmakeiteasiertodeploy.

SeeAlso:Sandcastle

Ttoken,tokenfile

Page 39: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Atokenisusedasareplaceabletagwithinatopicandisrepresentedusingatokenelement.Theinnertextoftheelementisatokenname.Thetokensaredefinedinaseparatetokenfile.Theyareaneasywaytorepresentcommonitemsthatyouuseregularlysuchasacommonphraseorexternallink.

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 40: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

VersionHistoryThetopicsinthissectiondescribethevariouschangesmadetotheHTMLtoMAMLConverteroverthelifeoftheproject.

VersionHistorySelectaversionbelowtoseeadescriptionofitschanges.

Version1.0.0.1

Version1.0.0.0

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 41: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

Version1.0.0.1Version1.0.0.1wasreleasedonJuly26th,2010.

ChangesinThisReleaseFixedabugthatcausedacrashwhenaJavaScriptreferencewasencounteredinananchortag'sHREFattribute.Suchreferencesarenowignoredandawarningiswrittentothetopicandthelogfileinstead.

SeeAlsoOtherResourcesVersionHistory

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 42: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

Version1.0.0.0Version1.0.0.0wasreleasedonOctober25th,2008.

ChangesinThisReleaseInitialrelease.

SeeAlsoOtherResourcesVersionHistory

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 43: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

HtmlToMamlConversionNamespaceThisnamespacecontainstheclassesusedtoconvertHTMLfilestoMAMLtopicfiles.

Classes Class Description

ConversionProgressEventArgs ThisisacustomeventargumentsclassfortheConversionProgressevent.

ConvertHtmlToMaml ThisutilityisusedtoconvertHTMLfilestoMAMLtopicsandcreatesomesupportingfiles.

FileParser ThisisusedtoparseanHTMLfiletoextractthevariouspartsforconversiontoMAML

HtmlToMaml ThisclassisusedtoconvertasetofHTMLfiletotheircloseequivalentasconceptualMAML

Page 44: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

topicfiles.

ImageReference Thisrepresentsanimagereference

ImageReferenceCollection Thisisacollectionofimagereferences

TagOptions ThisisusedtocontaintheoptionsandstateforaTagentryfromtheconversionrulesfile.

Topic Thisrepresentsatopicfile

TopicCollection Thisisacollectionoftopicitems

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 45: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ConversionProgressEventArgsClassThisisacustomeventargumentsclassfortheConversionProgressevent.

InheritanceHierarchySystemObjectSystemEventArgsHtmlToMamlConversionConversionProgressEventArgs

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheConversionProgressEventArgstypeexposesthefollowingmembers.

Constructors Name Description

ConversionProgressEventArgs Constructor

Top

Properties

publicclassConversionProgressEventArgs:EventArgs

CopyC# VB C++ F#

Page 46: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Name Description

Message Getthemessageassociatedwiththeprogressreport

Top

Methods Name Description

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Page 47: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Top

SeeAlsoReferenceHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 48: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ConversionProgressEventArgsConstructorConstructor

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

progressMessageType:SystemStringTheprogressmessage

SeeAlsoReferenceConversionProgressEventArgsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicConversionProgressEventArgs(

stringprogressMessage

)

CopyC# VB C++ F#

Page 49: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ConversionProgressEventArgsPropertiesTheConversionProgressEventArgstypeexposesthefollowingmembers.

Properties Name Description

Message Getthemessageassociatedwiththeprogressreport

Top

SeeAlsoReferenceConversionProgressEventArgsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 50: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ConversionProgressEventArgsMessagePropertyGetthemessageassociatedwiththeprogressreport

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceConversionProgressEventArgsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringMessage{get;}

CopyC# VB C++ F#

Page 51: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ConversionProgressEventArgsMethodsTheConversionProgressEventArgstypeexposesthefollowingmembers.

Methods Name Description

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

Page 52: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceConversionProgressEventArgsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 53: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ConvertHtmlToMamlClassThisutilityisusedtoconvertHTMLfilestoMAMLtopicsandcreatesomesupportingfiles.

InheritanceHierarchySystemObjectHtmlToMamlConversionConvertHtmlToMaml

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheConvertHtmlToMamltypeexposesthefollowingmembers.

Methods Name Description

Main Mainprogramentrypoint

Top

SeeAlsoReferenceHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

publicstaticclassConvertHtmlToMaml

CopyC# VB C++ F#

Page 55: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ConvertHtmlToMamlMethodsTheConvertHtmlToMamltypeexposesthefollowingmembers.

Methods Name Description

Main Mainprogramentrypoint

Top

SeeAlsoReferenceConvertHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 56: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ConvertHtmlToMamlMainMethodMainprogramentrypoint

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

argsType:SystemStringThecommandlinearguments(thesourcefolder,thedestinationfolder,andtheoptional"/companion"optiontocreatecompanionfilesforeachtopicfile).

ReturnValueType:Int32Zeroonsuccess,non-zeroonfailure

SeeAlsoReferenceConvertHtmlToMamlClassHtmlToMamlConversionNamespace

publicstaticintMain(

string[]args

)

CopyC# VB C++ F#

Page 58: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserClassThisisusedtoparseanHTMLfiletoextractthevariouspartsforconversiontoMAML

InheritanceHierarchySystemObjectHtmlToMamlConversionFileParser

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheFileParsertypeexposesthefollowingmembers.

Constructors Name Description

FileParser InitializesanewinstanceoftheFileParserclass

Top

Properties Name Description

Body ThisreturnstheHTML

publicclassFileParser

CopyC# VB C++ F#

Page 59: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

bodyparsedfromthefile

BodyExtractExpression Thisisusedtogetorsetthebodyextractregularexpression

HelpAttributes Thisreturnsthehelpattributesparsedfromthefile

HelpKeywords Thisreturnsthehelpkeywordsparsedfromthefile

IsDefaultTopic Thisreturnsthedefaulttopicflagiffoundinthetopic

RevisionNumber Thisreturnstherevisionnumberparsedfromthefile

SortOrder Thisreturnsthesortordervalueiffoundinthetopic

SplitToc ThisreturnsthesplitTOCflagiffoundinthetopic

Title Thisreturnsthetitleparsedfromthefile

TocExclude ThisreturnstheTOCexcludeflagiffoundinthetopic

TopicAbstract Thisreturnstheabstract

Page 60: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

parsedfromthefile

TopicId ThisreturnsthetopicIDparsedfromthefile

Top

Methods Name Description

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ParseFile ParsethespecifiedHTMLfile

Page 61: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

ReadWithEncoding Thisisusedtoreadinafileusinganappropriateencodingmethod

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 62: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserConstructorInitializesanewinstanceoftheFileParserclass

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicFileParser()

CopyC# VB C++ F#

Page 63: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserPropertiesTheFileParsertypeexposesthefollowingmembers.

Properties Name Description

Body ThisreturnstheHTMLbodyparsedfromthefile

BodyExtractExpression Thisisusedtogetorsetthebodyextractregularexpression

HelpAttributes Thisreturnsthehelpattributesparsedfromthefile

HelpKeywords Thisreturnsthehelpkeywordsparsedfromthefile

IsDefaultTopic Thisreturnsthedefaulttopicflagiffoundinthetopic

RevisionNumber Thisreturnstherevisionnumberparsedfromthefile

SortOrder Thisreturnsthesortordervalueiffoundinthetopic

Page 64: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

SplitToc ThisreturnsthesplitTOCflagiffoundinthetopic

Title Thisreturnsthetitleparsedfromthefile

TocExclude ThisreturnstheTOCexcludeflagiffoundinthetopic

TopicAbstract Thisreturnstheabstractparsedfromthefile

TopicId ThisreturnsthetopicIDparsedfromthefile

Top

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 65: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserBodyPropertyThisreturnstheHTMLbodyparsedfromthefile

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringBody{get;}

CopyC# VB C++ F#

Page 66: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserBodyExtractExpressionPropertyThisisusedtogetorsetthebodyextractregularexpression

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

ExceptionsException Condition

InvalidOperationException Thisisthrowniftheregularexpressionisnullorempty.

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

publicstaticstringBodyExtractExpression{get;set

CopyC# VB C++ F#

Page 68: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserHelpAttributesPropertyThisreturnsthehelpattributesparsedfromthefile

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:MSHelpAttrCollection

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicMSHelpAttrCollectionHelpAttributes{get;}

CopyC# VB C++ F#

Page 69: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserHelpKeywordsPropertyThisreturnsthehelpkeywordsparsedfromthefile

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:MSHelpKeywordCollection

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicMSHelpKeywordCollectionHelpKeywords{get;}

CopyC# VB C++ F#

Page 70: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserIsDefaultTopicPropertyThisreturnsthedefaulttopicflagiffoundinthetopic

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicboolIsDefaultTopic{get;}

CopyC# VB C++ F#

Page 71: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserRevisionNumberPropertyThisreturnstherevisionnumberparsedfromthefile

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringRevisionNumber{get;}

CopyC# VB C++ F#

Page 72: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserSortOrderPropertyThisreturnsthesortordervalueiffoundinthetopic

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:Int32

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicintSortOrder{get;}

CopyC# VB C++ F#

Page 73: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserSplitTocPropertyThisreturnsthesplitTOCflagiffoundinthetopic

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicboolSplitToc{get;}

CopyC# VB C++ F#

Page 74: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserTitlePropertyThisreturnsthetitleparsedfromthefile

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringTitle{get;}

CopyC# VB C++ F#

Page 75: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserTocExcludePropertyThisreturnstheTOCexcludeflagiffoundinthetopic

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicboolTocExclude{get;}

CopyC# VB C++ F#

Page 76: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserTopicAbstractPropertyThisreturnstheabstractparsedfromthefile

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringTopicAbstract{get;}

CopyC# VB C++ F#

Page 77: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserTopicIdPropertyThisreturnsthetopicIDparsedfromthefile

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:Guid

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicGuidTopicId{get;}

CopyC# VB C++ F#

Page 78: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserMethodsTheFileParsertypeexposesthefollowingmembers.

Methods Name Description

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ParseFile ParsethespecifiedHTMLfile

Page 79: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

ReadWithEncoding Thisisusedtoreadinafileusinganappropriateencodingmethod

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 80: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserParseFileMethodParsethespecifiedHTMLfile

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

filenameType:SystemStringThefiletoparse

RemarksAfterparsing,thepropertiescanbeusedtoretrievetheinformationparsedfromthefile.

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

publicvoidParseFile(

stringfilename

)

CopyC# VB C++ F#

Page 82: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FileParserReadWithEncodingMethodThisisusedtoreadinafileusinganappropriateencodingmethod

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

filenameType:SystemStringThefiletoload

encodingType:System.TextEncodingPassthedefaultencodingtouse.Onreturn,itcontainstheactualencodingforthefile.

ReturnValueType:StringThecontentsofthefile.

Remarks

publicstaticstringReadWithEncoding(

stringfilename,

refEncodingencoding

)

CopyC# VB C++ F#

Page 83: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Whenreadingthefile,usethedefaultencodingspecifiedbutdetecttheencodingifbyteordermarksarepresent.Inaddition,ifthetemplateisanXMLfileanditcontainsanencodingidentifierintheXMLtag,thefileisreadusingthatencoding.

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 84: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

HtmlToMamlClassThisclassisusedtoconvertasetofHTMLfiletotheircloseequivalentasconceptualMAMLtopicfiles.

InheritanceHierarchySystemObjectHtmlToMamlConversionHtmlToMaml

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheHtmlToMamltypeexposesthefollowingmembers.

Constructors Name Description

HtmlToMaml Constructor

Top

Properties Name Description

BasePath Thisreturnsthesourcepathforuseasthebasepath

publicclassHtmlToMaml:IBasePathProvider

CopyC# VB C++ F#

Page 85: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

PathProvider Thisreturnsthebasepathproviderfortheotherclassesinvolvedintheconversionthatneedrelativepaths.

Top

Methods Name Description

ConvertTopic Thisiscalledtoconvertasingletopicanditschildren

ConvertTopics Thisiscalledtoperformtheactualconversion

CreateCompanionFile Createacompanionfileforatopic

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

Page 86: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

OnConversionProgress ThisraisestheConversionProgressevent.

ReportProgress Thisisusedtoreportprogressduringtheconversion

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

Events Name Description

ConversionProgress Thiseventisraisedtoreportprogressinformationthroughouttheconversionprocess.

Top

SeeAlsoReference

Page 87: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 88: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

HtmlToMamlConstructorConstructor

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

sourceType:SystemStringThesourcepathcontainingtheHTMLfiles

destType:SystemStringThedestinationpathfortheMAMLtopicsandsupportingfiles

createCompanionType:SystemBooleanTruetocreatecompanionfilesforalltopicfilesorfalsetonotcreatethem.

moveIntroTextType:SystemBooleanIftrue,movetextbeforethefirstsectionintoanintroductionelement.Iffalse,insertaplaceholderintroductionelement.

publicHtmlToMaml(

stringsource,

stringdest,

boolcreateCompanion,

boolmoveIntroText

)

CopyC# VB C++ F#

Page 89: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 90: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

HtmlToMamlPropertiesTheHtmlToMamltypeexposesthefollowingmembers.

Properties Name Description

BasePath Thisreturnsthesourcepathforuseasthebasepath

PathProvider Thisreturnsthebasepathproviderfortheotherclassesinvolvedintheconversionthatneedrelativepaths.

Top

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 91: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

HtmlToMamlBasePathPropertyThisreturnsthesourcepathforuseasthebasepath

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:StringImplementsIBasePathProviderBasePath

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringBasePath{get;}

CopyC# VB C++ F#

Page 92: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

HtmlToMamlPathProviderPropertyThisreturnsthebasepathproviderfortheotherclassesinvolvedintheconversionthatneedrelativepaths.

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

ReturnValueType:IBasePathProviderTheHtmlToMamlobjectperformingtheconversion.

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstaticIBasePathProviderPathProvider{get;}

CopyC# VB C++ F#

Page 93: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

HtmlToMamlMethodsTheHtmlToMamltypeexposesthefollowingmembers.

Methods Name Description

ConvertTopic Thisiscalledtoconvertasingletopicanditschildren

ConvertTopics Thisiscalledtoperformtheactualconversion

CreateCompanionFile Createacompanionfileforatopic

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

Page 94: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

OnConversionProgress ThisraisestheConversionProgressevent.

ReportProgress Thisisusedtoreportprogressduringtheconversion

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 95: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

HtmlToMamlConvertTopicMethodThisiscalledtoconvertasingletopicanditschildren

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

topicType:HtmlToMamlConversionTopicThetopictoconvert

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicvoidConvertTopic(

Topictopic

)

CopyC# VB C++ F#

Page 96: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

HtmlToMamlConvertTopicsMethodThisiscalledtoperformtheactualconversion

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicvoidConvertTopics()

CopyC# VB C++ F#

Page 97: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

HtmlToMamlCreateCompanionFileMethodCreateacompanionfileforatopic

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

filenameType:SystemStringThecompanionfilename.

topicType:HtmlToMamlConversionTopicThetopic

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

publicstaticvoidCreateCompanionFile(

stringfilename,

Topictopic

)

CopyC# VB C++ F#

Page 99: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

HtmlToMamlOnConversionProgressMethodThisraisestheConversionProgressevent.

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

eType:HtmlToMamlConversionConversionProgressEventArgsTheeventarguments

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

protectedvirtualvoidOnConversionProgress(

ConversionProgressEventArgse

)

CopyC# VB C++ F#

Page 100: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

HtmlToMamlReportProgressMethodThisisusedtoreportprogressduringtheconversion

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

messageType:SystemStringThemessagetoreport

argsType:SystemObjectAlistofargumentstoformatintothemessagetext

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

protectedvoidReportProgress(

stringmessage,

paramsObject[]args

)

CopyC# VB C++ F#

Page 102: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

HtmlToMamlEventsTheHtmlToMamltypeexposesthefollowingmembers.

Events Name Description

ConversionProgress Thiseventisraisedtoreportprogressinformationthroughouttheconversionprocess.

Top

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 103: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

HtmlToMamlConversionProgressEventThiseventisraisedtoreportprogressinformationthroughouttheconversionprocess.

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

ValueType:SystemEventHandlerConversionProgressEventArgs

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publiceventEventHandler<ConversionProgressEventArgs

CopyC# VB C++ F#

Page 104: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ImageReferenceClassThisrepresentsanimagereference

InheritanceHierarchySystemObjectHtmlToMamlConversionImageReference

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheImageReferencetypeexposesthefollowingmembers.

Constructors Name Description

ImageReference Constructor

Top

Properties Name Description

AlternateText Getorsettheimage'salternatetext

publicclassImageReference

CopyC# VB C++ F#

Page 105: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Id Thisreturnstheimage'suniqueID

SourceFile Thisisusedtogetthesourceimagefilename

Top

Methods Name Description

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ToString Converttostringfordebuggingpurposes(OverridesObjectToString.)

Page 106: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Top

SeeAlsoReferenceHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 107: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ImageReferenceConstructorConstructor

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

sourceType:SystemStringThesourceimagefile

SeeAlsoReferenceImageReferenceClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicImageReference(

stringsource

)

CopyC# VB C++ F#

Page 108: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ImageReferencePropertiesTheImageReferencetypeexposesthefollowingmembers.

Properties Name Description

AlternateText Getorsettheimage'salternatetext

Id Thisreturnstheimage'suniqueID

SourceFile Thisisusedtogetthesourceimagefilename

Top

SeeAlsoReferenceImageReferenceClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 109: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ImageReferenceAlternateTextPropertyGetorsettheimage'salternatetext

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceImageReferenceClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringAlternateText{get;set;}

CopyC# VB C++ F#

Page 110: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ImageReferenceIdPropertyThisreturnstheimage'suniqueID

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceImageReferenceClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringId{get;}

CopyC# VB C++ F#

Page 111: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ImageReferenceSourceFilePropertyThisisusedtogetthesourceimagefilename

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:FilePath

SeeAlsoReferenceImageReferenceClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicFilePathSourceFile{get;set;}

CopyC# VB C++ F#

Page 112: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ImageReferenceMethodsTheImageReferencetypeexposesthefollowingmembers.

Methods Name Description

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ToString Converttostringfordebuggingpurposes(OverridesObjectToString.)

Page 113: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Top

SeeAlsoReferenceImageReferenceClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 114: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ImageReferenceToStringMethodConverttostringfordebuggingpurposes

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

ReturnValueType:StringThestringrepresentationofthetopic

SeeAlsoReferenceImageReferenceClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicoverridestringToString()

CopyC# VB C++ F#

Page 115: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ImageReferenceCollectionClassThisisacollectionofimagereferences

InheritanceHierarchySystemObjectSystem.Collections.ObjectModelCollectionImageReferenceHtmlToMamlConversionImageReferenceCollection

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheImageReferenceCollectiontypeexposesthefollowingmembers.

Constructors Name Description

ImageReferenceCollection InitializesanewinstanceoftheImageReferenceCollectionclass

Top

Properties

publicclassImageReferenceCollection:Collection<

CopyC# VB C++ F#

Page 116: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Name Description

Count GetsthenumberofelementsactuallycontainedintheCollectionT.(InheritedfromCollectionImageReference.)

Item Getsorsetstheelementatthespecifiedindex.(InheritedfromCollectionImageReference.)

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionImageReference.)

Top

Methods Name Description

Add AddsanobjecttotheendoftheCollectionT.(InheritedfromCollectionImageReference.)

Clear RemovesallelementsfromtheCollectionT.(InheritedfromCollectionImageReference.)

ClearItems RemovesallelementsfromtheCollectionT.(InheritedfromCollectionImageReference.)

Page 117: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Contains DetermineswhetheranelementisintheCollectionT.(InheritedfromCollectionImageReference.)

CopyTo CopiestheentireCollectionTtoacompatibleone-dimensionalArray,startingatthespecifiedindexofthetargetarray.(InheritedfromCollectionImageReference.)

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetEnumerator ReturnsanenumeratorthatiteratesthroughtheCollectionT.(InheritedfromCollectionImageReference.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

Page 118: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

IndexOf Searchesforthespecifiedobjectandreturnsthezero-basedindexofthefirstoccurrencewithintheentireCollectionT.(InheritedfromCollectionImageReference.)

Insert InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionImageReference.)

InsertItem InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionImageReference.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

Remove RemovesthefirstoccurrenceofaspecificobjectfromtheCollectionT.(InheritedfromCollectionImageReference.)

RemoveAt RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionImageReference.)

Page 119: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

RemoveItem RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionImageReference.)

Save Writetheimagereferencecollectiontoamediacontentfile.

SetItem Replacestheelementatthespecifiedindex.(InheritedfromCollectionImageReference.)

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 120: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ImageReferenceCollectionConstructorInitializesanewinstanceoftheImageReferenceCollectionclass

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

SeeAlsoReferenceImageReferenceCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicImageReferenceCollection()

CopyC# VB C++ F#

Page 121: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ImageReferenceCollectionPropertiesTheImageReferenceCollectiontypeexposesthefollowingmembers.

Properties Name Description

Count GetsthenumberofelementsactuallycontainedintheCollectionT.(InheritedfromCollectionImageReference.)

Item Getsorsetstheelementatthespecifiedindex.(InheritedfromCollectionImageReference.)

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionImageReference.)

Top

SeeAlsoReferenceImageReferenceCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

Page 123: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ImageReferenceCollectionMethodsTheImageReferenceCollectiontypeexposesthefollowingmembers.

Methods Name Description

Add AddsanobjecttotheendoftheCollectionT.(InheritedfromCollectionImageReference.)

Clear RemovesallelementsfromtheCollectionT.(InheritedfromCollectionImageReference.)

ClearItems RemovesallelementsfromtheCollectionT.(InheritedfromCollectionImageReference.)

Contains DetermineswhetheranelementisintheCollectionT.(InheritedfromCollectionImageReference.)

CopyTo CopiestheentireCollectionTtoacompatibleone-dimensionalArray,startingatthespecifiedindexofthe

Page 124: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

targetarray.(InheritedfromCollectionImageReference.)

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetEnumerator ReturnsanenumeratorthatiteratesthroughtheCollectionT.(InheritedfromCollectionImageReference.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IndexOf Searchesforthespecifiedobjectandreturnsthezero-basedindexofthefirstoccurrencewithintheentireCollectionT.(InheritedfromCollectionImageReference.)

Page 125: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Insert InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionImageReference.)

InsertItem InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionImageReference.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

Remove RemovesthefirstoccurrenceofaspecificobjectfromtheCollectionT.(InheritedfromCollectionImageReference.)

RemoveAt RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionImageReference.)

RemoveItem RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionImageReference.)

Save Writetheimagereferencecollectiontoamediacontentfile.

Page 126: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

SetItem Replacestheelementatthespecifiedindex.(InheritedfromCollectionImageReference.)

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceImageReferenceCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 127: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

ImageReferenceCollectionSaveMethodWritetheimagereferencecollectiontoamediacontentfile.

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

filenameType:SystemStringThefiletowhichtheimagereferencecollectionissaved.

SeeAlsoReferenceImageReferenceCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicvoidSave(

stringfilename

)

CopyC# VB C++ F#

Page 128: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TagOptionsClassThisisusedtocontaintheoptionsandstateforaTagentryfromtheconversionrulesfile.

InheritanceHierarchySystemObjectHtmlToMamlConversionTagOptions

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheTagOptionstypeexposesthefollowingmembers.

Constructors Name Description

TagOptions Constructor

Top

Properties Name Description

Attributes Thisreturnstheattributestousebasedonthelastevaluation

publicclassTagOptions

CopyC# VB C++ F#

Page 129: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Closing Thisreturnstheclosing"/"iftheelementisanendtag

Tag Thisreturnsthereplacementtagtousebasedonthelastevaluation.

Top

Methods Name Description

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Evaluate Evaluatethematchanddeterminethepropertiestouseforthereplacement.

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.

Page 130: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

(InheritedfromObject.)

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 131: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TagOptionsConstructorConstructor

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

tagType:System.Xml.XPathXPathNavigatorThetagnode

SeeAlsoReferenceTagOptionsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicTagOptions(

XPathNavigatortag

)

CopyC# VB C++ F#

Page 132: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TagOptionsPropertiesTheTagOptionstypeexposesthefollowingmembers.

Properties Name Description

Attributes Thisreturnstheattributestousebasedonthelastevaluation

Closing Thisreturnstheclosing"/"iftheelementisanendtag

Tag Thisreturnsthereplacementtagtousebasedonthelastevaluation.

Top

SeeAlsoReferenceTagOptionsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 133: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TagOptionsAttributesPropertyThisreturnstheattributestousebasedonthelastevaluation

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceTagOptionsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringAttributes{get;}

CopyC# VB C++ F#

Page 134: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TagOptionsClosingPropertyThisreturnstheclosing"/"iftheelementisanendtag

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceTagOptionsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringClosing{get;}

CopyC# VB C++ F#

Page 135: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TagOptionsTagPropertyThisreturnsthereplacementtagtousebasedonthelastevaluation.

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceTagOptionsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringTag{get;}

CopyC# VB C++ F#

Page 136: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TagOptionsMethodsTheTagOptionstypeexposesthefollowingmembers.

Methods Name Description

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Evaluate Evaluatethematchanddeterminethepropertiestouseforthereplacement.

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

Page 137: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceTagOptionsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 138: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TagOptionsEvaluateMethodEvaluatethematchanddeterminethepropertiestouseforthereplacement.

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

matchType:System.Text.RegularExpressionsMatchTheregularexpressionmatchtoevaluate

SeeAlsoReferenceTagOptionsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicvoidEvaluate(

Matchmatch

)

CopyC# VB C++ F#

Page 139: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicClassThisrepresentsatopicfile

InheritanceHierarchySystemObjectHtmlToMamlConversionTopic

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheTopictypeexposesthefollowingmembers.

Constructors Name Description

Topic Constructor

Top

Properties Name Description

Body Getorsetthetopic'sbody

HelpAttributes Getthehelpattributes

publicclassTopic

CopyC# VB C++ F#

Page 140: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

collection

HelpKeywords Getthehelpkeywordscollection

Id Thisreturnsthetopic'suniqueID

IsDefaultTopic Thisreturnsthedefaulttopicflagiffoundinthetopic

RevisionNumber Getorsetthetopic'srevisionnumber

SortOrder Thisreturnsthesortordervalueiffoundinthetopic

SourceFile ThisisusedtogetthesourceHTMLfilename

SplitToc ThisreturnsthesplitTOCflagiffoundinthetopic

Subtopics Thisisusedtogetthecollectionofsub-topics,ifany

Title Getorsetthetopic'stitle

TocExclude ThisreturnstheTOCexcludeflagiffoundinthetopic

TopicAbstract Getorsetthetopic'sabstract

Top

Methods Name Description

Page 141: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ParseFile Parsethetopicanditssub-topicfilestoextracttheinformationforconversion

ToString Converttostringfordebuggingpurposes(OverridesObjectToString.)

Top

SeeAlsoReferenceHtmlToMamlConversionNamespace

Page 143: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicConstructorConstructor

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

sourceType:SystemStringThesourcefileornulltocreateanemptycontainernodewithnoassociatedtopic

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicTopic(

stringsource

)

CopyC# VB C++ F#

Page 144: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicPropertiesTheTopictypeexposesthefollowingmembers.

Properties Name Description

Body Getorsetthetopic'sbody

HelpAttributes Getthehelpattributescollection

HelpKeywords Getthehelpkeywordscollection

Id Thisreturnsthetopic'suniqueID

IsDefaultTopic Thisreturnsthedefaulttopicflagiffoundinthetopic

RevisionNumber Getorsetthetopic'srevisionnumber

SortOrder Thisreturnsthesortordervalueiffoundinthetopic

SourceFile ThisisusedtogetthesourceHTMLfilename

SplitToc ThisreturnsthesplitTOCflagiffoundinthetopic

Subtopics Thisisusedtogetthe

Page 145: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

collectionofsub-topics,ifany

Title Getorsetthetopic'stitle

TocExclude ThisreturnstheTOCexcludeflagiffoundinthetopic

TopicAbstract Getorsetthetopic'sabstract

Top

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 146: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicBodyPropertyGetorsetthetopic'sbody

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringBody{get;set;}

CopyC# VB C++ F#

Page 147: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicHelpAttributesPropertyGetthehelpattributescollection

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:MSHelpAttrCollectionIfnullorempty,therearenoattributes

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicMSHelpAttrCollectionHelpAttributes{get;}

CopyC# VB C++ F#

Page 148: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicHelpKeywordsPropertyGetthehelpkeywordscollection

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:MSHelpKeywordCollectionIfnullorempty,therearenokeywords

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicMSHelpKeywordCollectionHelpKeywords{get;}

CopyC# VB C++ F#

Page 149: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicIdPropertyThisreturnsthetopic'suniqueID

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:Guid

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicGuidId{get;set;}

CopyC# VB C++ F#

Page 150: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicIsDefaultTopicPropertyThisreturnsthedefaulttopicflagiffoundinthetopic

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicboolIsDefaultTopic{get;}

CopyC# VB C++ F#

Page 151: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicRevisionNumberPropertyGetorsetthetopic'srevisionnumber

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringRevisionNumber{get;set;}

CopyC# VB C++ F#

Page 152: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicSortOrderPropertyThisreturnsthesortordervalueiffoundinthetopic

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:Int32

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicintSortOrder{get;}

CopyC# VB C++ F#

Page 153: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicSourceFilePropertyThisisusedtogetthesourceHTMLfilename

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:FilePathIfsettonull,theitemwillrepresentacontainernodewithnoassociatedtopic.

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicFilePathSourceFile{get;set;}

CopyC# VB C++ F#

Page 154: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicSplitTocPropertyThisreturnsthesplitTOCflagiffoundinthetopic

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicboolSplitToc{get;}

CopyC# VB C++ F#

Page 155: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicSubtopicsPropertyThisisusedtogetthecollectionofsub-topics,ifany

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:TopicCollection

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicTopicCollectionSubtopics{get;}

CopyC# VB C++ F#

Page 156: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicTitlePropertyGetorsetthetopic'stitle

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringTitle{get;set;}

CopyC# VB C++ F#

Page 157: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicTocExcludePropertyThisreturnstheTOCexcludeflagiffoundinthetopic

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicboolTocExclude{get;}

CopyC# VB C++ F#

Page 158: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicTopicAbstractPropertyGetorsetthetopic'sabstract

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringTopicAbstract{get;set;}

CopyC# VB C++ F#

Page 159: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicMethodsTheTopictypeexposesthefollowingmembers.

Methods Name Description

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ParseFile Parsethetopicanditssub-topicfilestoextracttheinformationforconversion

Page 160: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

ToString Converttostringfordebuggingpurposes(OverridesObjectToString.)

Top

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 161: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicParseFileMethodParsethetopicanditssub-topicfilestoextracttheinformationforconversion

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

fileParserType:HtmlToMamlConversionFileParserThefileparser

imageDictionaryType:System.Collections.GenericDictionaryFilePath,ImageReferenceTheimagedictionary

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

publicvoidParseFile(

FileParserfileParser,

Dictionary<FilePath,ImageReference>imageDictionary

)

CopyC# VB C++ F#

Page 163: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicToStringMethodConverttostringfordebuggingpurposes

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

ReturnValueType:StringThestringrepresentationofthetopic

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicoverridestringToString()

CopyC# VB C++ F#

Page 164: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicCollectionClassThisisacollectionoftopicitems

InheritanceHierarchySystemObjectSystem.Collections.ObjectModelCollectionTopicHtmlToMamlConversionTopicCollection

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheTopicCollectiontypeexposesthefollowingmembers.

Constructors Name Description

TopicCollection InitializesanewinstanceoftheTopicCollectionclass

Top

Properties Name Description

Count Getsthenumberofelements

publicclassTopicCollection:Collection<Topic>

CopyC# VB C++ F#

Page 165: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

actuallycontainedintheCollectionT.(InheritedfromCollectionTopic.)

DefaultTopic Thisisusedtogetthedefaulttopic

Item Getsorsetstheelementatthespecifiedindex.(InheritedfromCollectionTopic.)

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionTopic.)

SplitTocAtTopic ThisisusedtogetthetopicatwhichthetableofcontentissplitbytheAPIcontent.

Top

Methods Name Description

Add AddsanobjecttotheendoftheCollectionT.(InheritedfromCollectionTopic.)

AddTopicsFromFolder Addalltopicsfromthespecifiedfolderrecursivelytothetopiccollection.

Clear RemovesallelementsfromtheCollectionT.(Inheritedfrom

Page 166: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

CollectionTopic.)

ClearItems RemovesallelementsfromtheCollectionT.(InheritedfromCollectionTopic.)

Contains DetermineswhetheranelementisintheCollectionT.(InheritedfromCollectionTopic.)

CopyTo CopiestheentireCollectionTtoacompatibleone-dimensionalArray,startingatthespecifiedindexofthetargetarray.(InheritedfromCollectionTopic.)

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetEnumerator ReturnsanenumeratorthatiteratesthroughtheCollectionT.

Page 167: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

(InheritedfromCollectionTopic.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IndexOf Searchesforthespecifiedobjectandreturnsthezero-basedindexofthefirstoccurrencewithintheentireCollectionT.(InheritedfromCollectionTopic.)

Insert InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionTopic.)

InsertItem InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionTopic.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ParseFiles Parseallfilesinthecollectiontoextractthe

Page 168: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

informationforconversion.

Remove RemovesthefirstoccurrenceofaspecificobjectfromtheCollectionT.(InheritedfromCollectionTopic.)

RemoveAt RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionTopic.)

RemoveItem RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionTopic.)

Save Savethetopiccollectiontothenamedcontentlayoutfile

SetItem Replacestheelementatthespecifiedindex.(InheritedfromCollectionTopic.)

Sort Thisisusedtosortthecollection

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Page 169: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Top

SeeAlsoReferenceHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 170: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicCollectionConstructorInitializesanewinstanceoftheTopicCollectionclass

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

SeeAlsoReferenceTopicCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicTopicCollection()

CopyC# VB C++ F#

Page 171: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicCollectionPropertiesTheTopicCollectiontypeexposesthefollowingmembers.

Properties Name Description

Count GetsthenumberofelementsactuallycontainedintheCollectionT.(InheritedfromCollectionTopic.)

DefaultTopic Thisisusedtogetthedefaulttopic

Item Getsorsetstheelementatthespecifiedindex.(InheritedfromCollectionTopic.)

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionTopic.)

SplitTocAtTopic ThisisusedtogetthetopicatwhichthetableofcontentissplitbytheAPIcontent.

Top

SeeAlsoReferenceTopicCollectionClass

Page 172: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 173: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicCollectionDefaultTopicPropertyThisisusedtogetthedefaulttopic

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:TopicItreturnsthedefaulttopicornullifoneisnotset

SeeAlsoReferenceTopicCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicTopicDefaultTopic{get;}

CopyC# VB C++ F#

Page 174: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicCollectionSplitTocAtTopicPropertyThisisusedtogetthetopicatwhichthetableofcontentissplitbytheAPIcontent.

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:TopicThiswillonlybevalidifitreferstoarootleveltopic.Itwillreturnnullifasplitlocationhasnotbeensetattherootlevel.

SeeAlsoReferenceTopicCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicTopicSplitTocAtTopic{get;}

CopyC# VB C++ F#

Page 175: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicCollectionMethodsTheTopicCollectiontypeexposesthefollowingmembers.

Methods Name Description

Add AddsanobjecttotheendoftheCollectionT.(InheritedfromCollectionTopic.)

AddTopicsFromFolder Addalltopicsfromthespecifiedfolderrecursivelytothetopiccollection.

Clear RemovesallelementsfromtheCollectionT.(InheritedfromCollectionTopic.)

ClearItems RemovesallelementsfromtheCollectionT.(InheritedfromCollectionTopic.)

Contains DetermineswhetheranelementisintheCollectionT.(InheritedfromCollectionTopic.)

CopyTo Copiestheentire

Page 176: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

CollectionTtoacompatibleone-dimensionalArray,startingatthespecifiedindexofthetargetarray.(InheritedfromCollectionTopic.)

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetEnumerator ReturnsanenumeratorthatiteratesthroughtheCollectionT.(InheritedfromCollectionTopic.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IndexOf Searchesforthespecifiedobjectandreturnsthezero-basedindexofthe

Page 177: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

firstoccurrencewithintheentireCollectionT.(InheritedfromCollectionTopic.)

Insert InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionTopic.)

InsertItem InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionTopic.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ParseFiles Parseallfilesinthecollectiontoextracttheinformationforconversion.

Remove RemovesthefirstoccurrenceofaspecificobjectfromtheCollectionT.(InheritedfromCollectionTopic.)

RemoveAt RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionTopic.)

Page 178: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

RemoveItem RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionTopic.)

Save Savethetopiccollectiontothenamedcontentlayoutfile

SetItem Replacestheelementatthespecifiedindex.(InheritedfromCollectionTopic.)

Sort Thisisusedtosortthecollection

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceTopicCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 179: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicCollectionAddTopicsFromFolderMethodAddalltopicsfromthespecifiedfolderrecursivelytothetopiccollection.

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

folderType:SystemStringThefolderfromwhichtogetthefiles

topicDictionaryType:System.Collections.GenericDictionaryFilePath,TopicAdictionaryusedtocontainthelistoffilesindexbyname.

RemarksOnlyfileswitha.htm?or.topicextensionareadded

SeeAlso

publicvoidAddTopicsFromFolder(

stringfolder,

Dictionary<FilePath,Topic>topicDictionary

)

CopyC# VB C++ F#

Page 180: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

ReferenceTopicCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 181: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicCollectionParseFilesMethodParseallfilesinthecollectiontoextracttheinformationforconversion.

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

fileParserType:HtmlToMamlConversionFileParserThefileparser

imageDictionaryType:System.Collections.GenericDictionaryFilePath,ImageReferenceTheimagedictionary

SeeAlsoReferenceTopicCollectionClassHtmlToMamlConversionNamespace

publicvoidParseFiles(

FileParserfileParser,

Dictionary<FilePath,ImageReference>imageDictionary

)

CopyC# VB C++ F#

Page 183: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicCollectionSaveMethodSavethetopiccollectiontothenamedcontentlayoutfile

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

filenameType:SystemStringThefilenametowhichthecontentlayoutissaved.

SeeAlsoReferenceTopicCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicvoidSave(

stringfilename

)

CopyC# VB C++ F#

Page 184: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

TopicCollectionSortMethodThisisusedtosortthecollection

Namespace:HtmlToMamlConversionAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

RemarksValuesaresortedbydisplaytitle.Comparisonsarecase-sensitive.

SeeAlsoReferenceTopicCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicvoidSort()

CopyC# VB C++ F#

Page 185: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

SandcastleBuilder.UtilsNamespaceThisnamespacecontainsclassesfromtheSandcastleHelpFileBuilderutilitieslibraryusedintheHTMLtoMAMLconverter.

Classes Class Description

FilePath Thisclassisusedtorepresentafilepath.Supportisincludedfortreatingthepathasfixedorrelativeandforexpandingenvironmentvariablesinthepathname.

FolderPath Thisclassisusedtorepresentafolderpath.Supportisincludedfortreatingthepathasfixedorrelativeandforexpandingenvironmentvariablesinthepathname.

MSHelpAttr ThisrepresentsanHTMLHelp2.xattributethatcanbe

Page 186: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

addedtotheXMLdataislandineachhelptopicgeneratedbyBuildAssembler.

MSHelpAttrCollection Thiscollectionclassisusedtoholdthehelpattributeitemsforaproject.

MSHelpKeyword ThisrepresentsanHTMLHelp2.xindexkeywordthatcanbeaddedtotheXMLdataislandineachhelptopicgeneratedbyBuildAssembler.

MSHelpKeywordCollection Thiscollectionclassisusedtoholdthehelpindexkeyworditemsforaproject.

Interfaces Interface Description

IBasePathProvider ThisinterfacedefinesthepropertiesusedtoobtainabasepathforaFilePathobject.

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 187: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathClassThisclassisusedtorepresentafilepath.Supportisincludedfortreatingthepathasfixedorrelativeandforexpandingenvironmentvariablesinthepathname.

InheritanceHierarchySystemObjectSandcastleBuilder.UtilsFilePathSandcastleBuilder.UtilsFolderPath

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheFilePathtypeexposesthefollowingmembers.

Constructors Name Description

FilePath(IBasePathProvider) Defaultconstructor.Thefilepathisundefined.

FilePath(String,IBasePathProvider)

Constructor.Assignthespecifiedpath.

[SerializableAttribute]

publicclassFilePath:ICloneable

CopyC# VB C++ F#

Page 188: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

FilePath(String,Boolean,IBasePathProvider)

Constructor.Assignthespecifiedpathandfixedsetting.

Top

Properties Name Description

BasePath Thisreturnsthebasepathfortheobject

BasePathProvider Thisisusedtogetthebasepathproviderfortheobject.

Exists Thisread-onlypropertycanbeusedtodeterminewhetherornotthefilepathexists

ExpandedPath Thisread-onlypropertyisusedtodisplaythefullyqualifiedpathwithenvironmentvariableexpansionsinthedesigner.

IsFixedPath ThisisusedtoindicatewhetherornotthepathwillbetreatedasarelativeorfixedpathwhenconvertedretrievedviathePersistablePathproperty.

Path Thisisusedtogetorsetthepathtouse.

PersistablePath Thisisusedtoretrievethefilepathinaformatsuitablefor

Page 189: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

persistingtostoragebasedonthecurrentsettings.

Top

Methods Name Description

AbsoluteToRelativePath Thishelpermethodcanbeusedtoconvertanabsolutepathtoonethatisrelativetothegivenbasepath.

Clone Thisreturnsacloneoftheobject

Equals Thisisoverriddentoallowpropercomparisonoffilepathobjects.(OverridesObjectEquals(Object).)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetFullPath Thisreturnsthefullyqualifiedpathforthespecifiedpath.Thisversionallowswildcardsinthefilenamepartifpresent.

Page 190: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

GetHashCode Getahashcodeforthefilepathobject(OverridesObjectGetHashCode.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

OnPersistablePathChanged ThisraisesthePersistablePathChangedevent

OnPersistablePathChanging ThisraisesthePersistablePathChangingevent

RelativeToAbsolutePath Thishelpermethodcanbeusedtoconvertarelativepathtoanabsolutepathbasedonthegivenbasepath.

ToString Convertthefilepathtoastring(OverridesObjectToString.)

Top

Events Name Description

Page 191: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

PersistablePathChanged Thiseventisraisedwhenthepersistablepathchanges

PersistablePathChanging Thiseventisraisedwhenthepersistablepathisabouttobechanged

Top

Operators Name Description

Equality Overloadforequaloperator.

(FilePathtoString)

ThisisusedtohandleanimplicitconversionfromaFilePathobjecttoastring

Inequality Overloadfornotequaloperator.

Top

SeeAlsoReferenceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 192: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathConstructorTherearethreeoverloadsfortheconstructor.

OverloadList Name Description

FilePath(IBasePathProvider) Defaultconstructor.Thefilepathisundefined.

FilePath(String,IBasePathProvider)

Constructor.Assignthespecifiedpath.

FilePath(String,Boolean,IBasePathProvider)

Constructor.Assignthespecifiedpathandfixedsetting.

Top

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 193: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathConstructor(IBasePathProvider)Defaultconstructor.Thefilepathisundefined.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

providerType:SandcastleBuilder.UtilsIBasePathProviderThebasepathprovider

SeeAlsoReferenceFilePathClassFilePathOverloadSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicFilePath(

IBasePathProviderprovider

)

CopyC# VB C++ F#

Page 194: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathConstructor(String,IBasePathProvider)Constructor.Assignthespecifiedpath.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

pathType:SystemStringArelativeorabsolutepath.

providerType:SandcastleBuilder.UtilsIBasePathProviderThebasepathprovider

RemarksUnlessIsFixedPathissettotrue,thepathisalwaystreatedasarelativepath.

SeeAlso

publicFilePath(

stringpath,

IBasePathProviderprovider

)

CopyC# VB C++ F#

Page 195: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

ReferenceFilePathClassFilePathOverloadSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 196: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathConstructor(String,Boolean,IBasePathProvider)Constructor.Assignthespecifiedpathandfixedsetting.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

pathType:SystemStringArelativeorabsolutepath.

isFixedType:SystemBooleanTruetotreatthepathasfixed,falsetotreatitasarelativepath.

providerType:SandcastleBuilder.UtilsIBasePathProviderThebasepathprovider

SeeAlsoReference

publicFilePath(

stringpath,

boolisFixed,

IBasePathProviderprovider

)

CopyC# VB C++ F#

Page 197: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

FilePathClassFilePathOverloadSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 198: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathPropertiesTheFilePathtypeexposesthefollowingmembers.

Properties Name Description

BasePath Thisreturnsthebasepathfortheobject

BasePathProvider Thisisusedtogetthebasepathproviderfortheobject.

Exists Thisread-onlypropertycanbeusedtodeterminewhetherornotthefilepathexists

ExpandedPath Thisread-onlypropertyisusedtodisplaythefullyqualifiedpathwithenvironmentvariableexpansionsinthedesigner.

IsFixedPath ThisisusedtoindicatewhetherornotthepathwillbetreatedasarelativeorfixedpathwhenconvertedretrievedviathePersistablePathproperty.

Path Thisisusedtogetorsetthepathtouse.

PersistablePath Thisisusedtoretrievethefile

Page 199: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

pathinaformatsuitableforpersistingtostoragebasedonthecurrentsettings.

Top

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 200: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathBasePathPropertyThisreturnsthebasepathfortheobject

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:StringIfnoIBasePathProviderhasbeenspecified,thisreturnsthecurrentdirectory

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringBasePath{get;}

CopyC# VB C++ F#

Page 201: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathBasePathProviderPropertyThisisusedtogetthebasepathproviderfortheobject.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:IBasePathProvider

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicIBasePathProviderBasePathProvider{get;}

CopyC# VB C++ F#

Page 202: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathExistsPropertyThisread-onlypropertycanbeusedtodeterminewhetherornotthefilepathexists

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicvirtualboolExists{get;}

CopyC# VB C++ F#

Page 203: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathExpandedPathPropertyThisread-onlypropertyisusedtodisplaythefullyqualifiedpathwithenvironmentvariableexpansionsinthedesigner.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringExpandedPath{get;}

CopyC# VB C++ F#

Page 204: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathIsFixedPathPropertyThisisusedtoindicatewhetherornotthepathwillbetreatedasarelativeorfixedpathwhenconvertedretrievedviathePersistablePathproperty.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:BooleanIftrue,thepathisreturnedasafixedpathwhenretrieved.Iffalse,itisreturnedasapathrelativetothecurrentvalueoftheBasePathproperty.

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicboolIsFixedPath{get;set;}

CopyC# VB C++ F#

Page 205: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathPathPropertyThisisusedtogetorsetthepathtouse.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:StringWhenset,ifthepathisnotrooted(arelativepath),IsFixedPathissettofalse.Ifrooted(anabsolutepath),itisnotchanged.Thispropertyalwaysreturnsafullyqualifiedpathbutwithoutanyenvironmentvariableexpansions.Ifsettoanulloremptystring,thefilepathisclearedandisconsideredtobeundefined.

Examples

publicvirtualstringPath{get;set;}

Copy

FilePathpath=newFilePath();

//Setittoarelativepath

path.Path=@"..\..\Test.txt";

//Setittoanabsolutepath

path.Path=@"C:\MyDocuments\Info.doc";

//Setittoapathbasedonanenvironmentvariable

Copy

C# VB C++ F#

C# VB

Page 206: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

path.Path=@"%HOMEDRIVE%%HOMEPATH%\Favorites\*.*";

Page 207: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathPersistablePathPropertyThisisusedtoretrievethefilepathinaformatsuitableforpersistingtostoragebasedonthecurrentsettings.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

RemarksIfIsFixedPathistrue,anabsolutepathisalwaysreturned.Iffalse,thepathisreturnedinaformthatisrelativetothepathstoredintheBasePathproperty.

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicvirtualstringPersistablePath{get;set;}

CopyC# VB C++ F#

Page 208: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathMethodsTheFilePathtypeexposesthefollowingmembers.

Methods Name Description

AbsoluteToRelativePath Thishelpermethodcanbeusedtoconvertanabsolutepathtoonethatisrelativetothegivenbasepath.

Clone Thisreturnsacloneoftheobject

Equals Thisisoverriddentoallowpropercomparisonoffilepathobjects.(OverridesObjectEquals(Object).)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetFullPath Thisreturnsthefullyqualifiedpathforthespecifiedpath.This

Page 209: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

versionallowswildcardsinthefilenamepartifpresent.

GetHashCode Getahashcodeforthefilepathobject(OverridesObjectGetHashCode.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

OnPersistablePathChanged ThisraisesthePersistablePathChangedevent

OnPersistablePathChanging ThisraisesthePersistablePathChangingevent

RelativeToAbsolutePath Thishelpermethodcanbeusedtoconvertarelativepathtoanabsolutepathbasedonthegivenbasepath.

ToString Convertthefilepathtoastring(OverridesObjectToString.)

Top

Page 210: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 211: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathAbsoluteToRelativePathMethodThishelpermethodcanbeusedtoconvertanabsolutepathtoonethatisrelativetothegivenbasepath.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

basePathType:SystemStringThebasepath

absolutePathType:SystemStringAnabsolutepath

ReturnValueType:StringApathtothegivenabsolutepaththatisrelativetothegivenbasepath

Remarks

publicstaticstringAbsoluteToRelativePath(

stringbasePath,

stringabsolutePath

)

CopyC# VB C++ F#

Page 212: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Ifthebasepathisnullorempty,thecurrentworkingfolderisused.

Examples

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

stringbasePath=@"E:\DotNet\CS\TestProject\Source"

stringabsolutePath=@"E:\DotNet\CS\TestProject\Doc\Help.html"

stringrelativePath=FilePath.AbsoluteToRelativePath(basePath,

absolutePath);

Console.WriteLine(relativePath);

//Resultsin:..\Doc\Help.html

CopyC# VB

Page 213: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathCloneMethodThisreturnsacloneoftheobject

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

ReturnValueType:ObjectAcloneoftheobjectImplementsICloneableClone

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicObjectClone()

CopyC# VB C++ F#

Page 214: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathEqualsMethodThisisoverriddentoallowpropercomparisonoffilepathobjects.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

objType:SystemObjectTheobjecttowhichthisinstanceiscompared

ReturnValueType:BooleanReturnstrueiftheobjectequalsthisinstance,falseifitdoesnot

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicoverrideboolEquals(

Objectobj

)

CopyC# VB C++ F#

Page 215: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathGetFullPathMethodThisreturnsthefullyqualifiedpathforthespecifiedpath.Thisversionallowswildcardsinthefilenamepartifpresent.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

pathType:SystemStringThepathtoexpand

ReturnValueType:StringThefullyqualifiedpathname

RemarksTheSystem.IO.PathversionofGetFullPath(String)willthrowanexceptionifthepathcontainswildcardcharacters.Thisversiondoesnot.

SeeAlso

publicstaticstringGetFullPath(

stringpath

)

CopyC# VB C++ F#

Page 216: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

ReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 217: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathGetHashCodeMethodGetahashcodeforthefilepathobject

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

ReturnValueType:Int32ReturnsthehashcodeoftheToStringvalueconvertedtolowercase

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicoverrideintGetHashCode()

CopyC# VB C++ F#

Page 218: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathOnPersistablePathChangedMethodThisraisesthePersistablePathChangedevent

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

eType:SystemEventArgsTheeventarguments

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

protectedvoidOnPersistablePathChanged(

EventArgse

)

CopyC# VB C++ F#

Page 219: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathOnPersistablePathChangingMethodThisraisesthePersistablePathChangingevent

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

eType:SystemEventArgsTheeventarguments

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

protectedvoidOnPersistablePathChanging(

EventArgse

)

CopyC# VB C++ F#

Page 220: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathRelativeToAbsolutePathMethodThishelpermethodcanbeusedtoconvertarelativepathtoanabsolutepathbasedonthegivenbasepath.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

basePathType:SystemStringThebasepath

relativePathType:SystemStringArelativepath

ReturnValueType:StringAnabsolutepath

Remarks

publicstaticstringRelativeToAbsolutePath(

stringbasePath,

stringrelativePath

)

CopyC# VB C++ F#

Page 221: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Ifthebasepathisnullorempty,thecurrentworkingfolderisused.

Examples

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

stringbasePath=@"E:\DotNet\CS\TestProject\Source"

stringrelativePath=@"..\Doc\Help.html";

stringabsolutePath=FilePath.RelativeToAbsolutePath(basePath,

relativePath);

Console.WriteLine(absolutePath);

//Resultsin:E:\DotNet\CS\TestProject\Doc\Help.html

CopyC# VB

Page 222: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathToStringMethodConvertthefilepathtoastring

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

ReturnValueType:StringAfixedorrelativepathbasedonthecurrentsettings

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicoverridestringToString()

CopyC# VB C++ F#

Page 223: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathEventsTheFilePathtypeexposesthefollowingmembers.

Events Name Description

PersistablePathChanged Thiseventisraisedwhenthepersistablepathchanges

PersistablePathChanging Thiseventisraisedwhenthepersistablepathisabouttobechanged

Top

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 224: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathPersistablePathChangedEventThiseventisraisedwhenthepersistablepathchanges

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

ValueType:SystemEventHandler

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publiceventEventHandlerPersistablePathChanged

CopyC# VB C++ F#

Page 225: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathPersistablePathChangingEventThiseventisraisedwhenthepersistablepathisabouttobechanged

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

ValueType:SystemEventHandler

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publiceventEventHandlerPersistablePathChanging

CopyC# VB C++ F#

Page 226: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathOperatorsandTypeConversionsTheFilePathtypeexposesthefollowingmembers.

Operators Name Description

Equality Overloadforequaloperator.

(FilePathtoString)

ThisisusedtohandleanimplicitconversionfromaFilePathobjecttoastring

Inequality Overloadfornotequaloperator.

Top

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 227: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathEqualityOperatorOverloadforequaloperator.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

firstPathType:SandcastleBuilder.UtilsFilePathThefirstobjecttocompare

secondPathType:SandcastleBuilder.UtilsFilePathThesecondobjecttocompare

ReturnValueType:BooleanTrueifequal,falseifnot.

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

publicstaticbooloperator==(

FilePathfirstPath,

FilePathsecondPath

)

CopyC# VB C++ F#

Page 229: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathConversion(FilePathtoString)ThisisusedtohandleanimplicitconversionfromaFilePathobjecttoastring

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

filePathType:SandcastleBuilder.UtilsFilePathTheFilePathtoconvert.

ReturnValueType:StringThefilepathasarelativeorabsolutepathstringbasedonitscurrentsettings

Examples

publicstaticimplicitoperatorstring(

FilePathfilePath

)

Copy

FilePathfilePath=newFilePath(@"%APPDATA%\TestApp\App.config"

Copy

C# VB C++ F#

C# VB

Page 230: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

//TheFilePathobjectisautomaticallyconvertedtoastring

//representingtheexpanded,fullyqualifiedpath.

stringpathString=filePath;

Page 231: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FilePathInequalityOperatorOverloadfornotequaloperator.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

firstPathType:SandcastleBuilder.UtilsFilePathThefirstobjecttocompare

secondPathType:SandcastleBuilder.UtilsFilePathThesecondobjecttocompare

ReturnValueType:BooleanTrueifnotequal,falseiftheyare.

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

publicstaticbooloperator!=(

FilePathfirstPath,

FilePathsecondPath

)

CopyC# VB C++ F#

Page 233: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FolderPathClassThisclassisusedtorepresentafolderpath.Supportisincludedfortreatingthepathasfixedorrelativeandforexpandingenvironmentvariablesinthepathname.

InheritanceHierarchySystemObjectSandcastleBuilder.UtilsFilePathSandcastleBuilder.UtilsFolderPath

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheFolderPathtypeexposesthefollowingmembers.

Constructors Name Description

FolderPath(IBasePathProvider) Defaultconstructor.Thefolderpathisundefined.

FolderPath(String,IBasePathProvider)

Constructor.Assignthe

[SerializableAttribute]

publicclassFolderPath:FilePath

CopyC# VB C++ F#

Page 234: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

specifiedpath.

FolderPath(String,Boolean,IBasePathProvider)

Constructor.Assignthespecifiedpathandfixedsetting.

Top

Properties Name Description

BasePath Thisreturnsthebasepathfortheobject(InheritedfromFilePath.)

BasePathProvider Thisisusedtogetthebasepathproviderfortheobject.(InheritedfromFilePath.)

Exists Thisread-onlypropertycanbeusedtodeterminewhetherornotthefolderpathexists.(OverridesFilePathExists.)

ExpandedPath Thisread-onlypropertyisusedtodisplaythefullyqualifiedpathwithenvironmentvariableexpansionsinthedesigner.(InheritedfromFilePath.)

IsFixedPath Thisisusedtoindicatewhetherornotthepathwillbetreatedasarelativeorfixedpathwhenconvertedretrievedviathe

Page 235: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

PersistablePathproperty.(InheritedfromFilePath.)

Path Thisisusedtogetorsetthepath.(OverridesFilePathPath.)

PersistablePath Thisisusedtoretrievethefilepathinaformatsuitableforpersistingtostoragebasedonthecurrentsettings.(InheritedfromFilePath.)

Top

Methods Name Description

Clone Thisreturnsacloneoftheobject(InheritedfromFilePath.)

Equals Thisisoverriddentoallowpropercomparisonoffilepathobjects.(InheritedfromFilePath.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Getahashcodeforthefilepathobject

Page 236: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

(InheritedfromFilePath.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IsPathTerminated Thiscanbeusedtofindoutifapathisterminatedwithatrailingbackslash.

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

OnPersistablePathChanged ThisraisesthePersistablePathChangedevent(InheritedfromFilePath.)

OnPersistablePathChanging ThisraisesthePersistablePathChangingevent(InheritedfromFilePath.)

TerminatePath Thiscanbeusedtoensurethatapathisterminatedwithatrailingbackslash.

ToString Convertthefilepathtoastring(InheritedfromFilePath.)

Top

Events Name Description

Page 237: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

PersistablePathChanged Thiseventisraisedwhenthepersistablepathchanges(InheritedfromFilePath.)

PersistablePathChanging Thiseventisraisedwhenthepersistablepathisabouttobechanged(InheritedfromFilePath.)

Top

SeeAlsoReferenceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 238: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FolderPathConstructorTherearethreeoverloadsfortheconstructor.

OverloadList Name Description

FolderPath(IBasePathProvider) Defaultconstructor.Thefolderpathisundefined.

FolderPath(String,IBasePathProvider)

Constructor.Assignthespecifiedpath.

FolderPath(String,Boolean,IBasePathProvider)

Constructor.Assignthespecifiedpathandfixedsetting.

Top

SeeAlsoReferenceFolderPathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 239: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FolderPathConstructor(IBasePathProvider)Defaultconstructor.Thefolderpathisundefined.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

providerType:SandcastleBuilder.UtilsIBasePathProviderThebasepathprovider

SeeAlsoReferenceFolderPathClassFolderPathOverloadSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicFolderPath(

IBasePathProviderprovider

)

CopyC# VB C++ F#

Page 240: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FolderPathConstructor(String,IBasePathProvider)Constructor.Assignthespecifiedpath.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

pathType:SystemStringArelativeorabsolutepath.

providerType:SandcastleBuilder.UtilsIBasePathProviderThebasepathprovider

RemarksUnlessIsFixedPathissettotrue,thepathisalwaystreatedasarelativepath.

SeeAlso

publicFolderPath(

stringpath,

IBasePathProviderprovider

)

CopyC# VB C++ F#

Page 241: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

ReferenceFolderPathClassFolderPathOverloadSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 242: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FolderPathConstructor(String,Boolean,IBasePathProvider)Constructor.Assignthespecifiedpathandfixedsetting.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

pathType:SystemStringArelativeorabsolutepath.

isFixedType:SystemBooleanTruetotreatthepathasfixed,falsetotreatitasarelativepath.

providerType:SandcastleBuilder.UtilsIBasePathProviderThebasepathprovider

SeeAlsoReference

publicFolderPath(

stringpath,

boolisFixed,

IBasePathProviderprovider

)

CopyC# VB C++ F#

Page 243: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

FolderPathClassFolderPathOverloadSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 244: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FolderPathPropertiesTheFolderPathtypeexposesthefollowingmembers.

Properties Name Description

BasePath Thisreturnsthebasepathfortheobject(InheritedfromFilePath.)

BasePathProvider Thisisusedtogetthebasepathproviderfortheobject.(InheritedfromFilePath.)

Exists Thisread-onlypropertycanbeusedtodeterminewhetherornotthefolderpathexists.(OverridesFilePathExists.)

ExpandedPath Thisread-onlypropertyisusedtodisplaythefullyqualifiedpathwithenvironmentvariableexpansionsinthedesigner.(InheritedfromFilePath.)

IsFixedPath ThisisusedtoindicatewhetherornotthepathwillbetreatedasarelativeorfixedpathwhenconvertedretrievedviathePersistablePathproperty.

Page 245: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

(InheritedfromFilePath.)

Path Thisisusedtogetorsetthepath.(OverridesFilePathPath.)

PersistablePath Thisisusedtoretrievethefilepathinaformatsuitableforpersistingtostoragebasedonthecurrentsettings.(InheritedfromFilePath.)

Top

SeeAlsoReferenceFolderPathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 246: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FolderPathExistsPropertyThisread-onlypropertycanbeusedtodeterminewhetherornotthefolderpathexists.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceFolderPathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicoverrideboolExists{get;}

CopyC# VB C++ F#

Page 247: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FolderPathPathPropertyThisisusedtogetorsetthepath.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:StringWhenset,ifthepathisnotrooted(arelativepath),IsFixedPathissettofalse.Ifrooted(anabsolutepath),itisnotchanged.Thispropertyalwaysreturnsafullyqualifiedpathbutwithoutanyenvironmentvariableexpansionsandterminatedwithatrailingbackslashifneeded.Ifsettoanulloremptystring,thefolderpathisclearedandisconsideredtobeundefined.

Examples

publicoverridestringPath{get;set;}

Copy

FolderPathpath=newFolderPath();

//Setittoarelativepath

path.Path=@"..\..\ProjectFolder";

//Setittoanabsolutepath

path.Path=@"C:\MyDocuments\ProjectDocs\";

Copy

C# VB C++ F#

C# VB

Page 248: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

SeeAlsoReferenceFolderPathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

//Setittoapathbasedonanenvironmentvariable

path.Path=@"%HOMEDRIVE%%HOMEPATH%\Favorites\";

Page 249: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FolderPathMethodsTheFolderPathtypeexposesthefollowingmembers.

Methods Name Description

Clone Thisreturnsacloneoftheobject(InheritedfromFilePath.)

Equals Thisisoverriddentoallowpropercomparisonoffilepathobjects.(InheritedfromFilePath.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Getahashcodeforthefilepathobject(InheritedfromFilePath.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IsPathTerminated Thiscanbeusedtofindoutifapathisterminated

Page 250: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

withatrailingbackslash.

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

OnPersistablePathChanged ThisraisesthePersistablePathChangedevent(InheritedfromFilePath.)

OnPersistablePathChanging ThisraisesthePersistablePathChangingevent(InheritedfromFilePath.)

TerminatePath Thiscanbeusedtoensurethatapathisterminatedwithatrailingbackslash.

ToString Convertthefilepathtoastring(InheritedfromFilePath.)

Top

SeeAlsoReferenceFolderPathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 251: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FolderPathIsPathTerminatedMethodThiscanbeusedtofindoutifapathisterminatedwithatrailingbackslash.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

pathType:SystemStringThepathtocheck

ReturnValueType:BooleanReturnstrueifitis,falseifitisnot.

SeeAlsoReferenceFolderPathClassSandcastleBuilder.UtilsNamespace

publicstaticboolIsPathTerminated(

stringpath

)

CopyC# VB C++ F#

Page 253: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FolderPathTerminatePathMethodThiscanbeusedtoensurethatapathisterminatedwithatrailingbackslash.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

pathType:SystemStringThepathtocheck

ReturnValueType:StringThepathwithatrailingbackslashaddedifnecessary.

SeeAlsoReferenceFolderPathClassSandcastleBuilder.UtilsNamespace

publicstaticstringTerminatePath(

stringpath

)

CopyC# VB C++ F#

Page 255: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

FolderPathEventsTheFolderPathtypeexposesthefollowingmembers.

Events Name Description

PersistablePathChanged Thiseventisraisedwhenthepersistablepathchanges(InheritedfromFilePath.)

PersistablePathChanging Thiseventisraisedwhenthepersistablepathisabouttobechanged(InheritedfromFilePath.)

Top

SeeAlsoReferenceFolderPathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 256: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

IBasePathProviderInterfaceThisinterfacedefinesthepropertiesusedtoobtainabasepathforaFilePathobject.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheIBasePathProvidertypeexposesthefollowingmembers.

Properties Name Description

BasePath Thisread-onlypropertyreturnsthebasepath

Top

SeeAlsoReferenceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicinterfaceIBasePathProvider

CopyC# VB C++ F#

Page 257: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

IBasePathProviderPropertiesTheIBasePathProvidertypeexposesthefollowingmembers.

Properties Name Description

BasePath Thisread-onlypropertyreturnsthebasepath

Top

SeeAlsoReferenceIBasePathProviderInterfaceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 258: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

IBasePathProviderBasePathPropertyThisread-onlypropertyreturnsthebasepath

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceIBasePathProviderInterfaceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

stringBasePath{get;}

CopyC# VB C++ F#

Page 259: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrClassThisrepresentsanHTMLHelp2.xattributethatcanbeaddedtotheXMLdataislandineachhelptopicgeneratedbyBuildAssembler.

InheritanceHierarchySystemObjectSandcastleBuilder.UtilsMSHelpAttr

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheMSHelpAttrtypeexposesthefollowingmembers.

Properties Name Description

AttributeName Thisisusedtogetorsettheattributename

AttributeValue Thisisusedtogetorsettheattributevalue

IsDirty Thisisusedtogetorsetthedirtystateoftheitem

[SerializableAttribute]

publicclassMSHelpAttr:IComparable<MSHelpAttr>

CopyC# VB C++ F#

Page 260: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Top

Methods Name Description

CompareTo Comparesthisinstancetoanotherinstanceandreturnsanindicationoftheirrelativevalues.

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(OverridesObjectEquals(Object).)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Getahashcodeforthisitem(OverridesObjectGetHashCode.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ToString Returnastringrepresentationoftheitem

Page 261: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

(OverridesObjectToString.)

Top

SeeAlsoReferenceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 262: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrPropertiesTheMSHelpAttrtypeexposesthefollowingmembers.

Properties Name Description

AttributeName Thisisusedtogetorsettheattributename

AttributeValue Thisisusedtogetorsettheattributevalue

IsDirty Thisisusedtogetorsetthedirtystateoftheitem

Top

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 263: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrAttributeNamePropertyThisisusedtogetorsettheattributename

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringAttributeName{get;set;}

CopyC# VB C++ F#

Page 264: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrAttributeValuePropertyThisisusedtogetorsettheattributevalue

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringAttributeValue{get;set;}

CopyC# VB C++ F#

Page 265: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrIsDirtyPropertyThisisusedtogetorsetthedirtystateoftheitem

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicboolIsDirty{get;set;}

CopyC# VB C++ F#

Page 266: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrMethodsTheMSHelpAttrtypeexposesthefollowingmembers.

Methods Name Description

CompareTo Comparesthisinstancetoanotherinstanceandreturnsanindicationoftheirrelativevalues.

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(OverridesObjectEquals(Object).)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Getahashcodeforthisitem(OverridesObjectGetHashCode.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone Createsashallowcopyofthe

Page 267: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

currentObject.(InheritedfromObject.)

ToString Returnastringrepresentationoftheitem(OverridesObjectToString.)

Top

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 268: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrCompareToMethodComparesthisinstancetoanotherinstanceandreturnsanindicationoftheirrelativevalues.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

otherType:SandcastleBuilder.UtilsMSHelpAttrAMSHelpAttrobjecttocompare

ReturnValueType:Int32Returns-1ifthisinstanceislessthanthevalue,0iftheyareequal,or1ifthisinstanceisgreaterthanthevalueorthevalueisnull.ImplementsIComparableTCompareTo(T)

RemarksEntriesaresortedbynameandthenvalue

publicintCompareTo(

MSHelpAttrother

)

CopyC# VB C++ F#

Page 269: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 270: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrEqualsMethodDetermineswhetherthespecifiedobjectisequaltothecurrentobject.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

objType:SystemObjectTheobjecttocomparewiththecurrentobject.

ReturnValueType:Booleantrueifthespecifiedobjectisequaltothecurrentobject;otherwise,false.

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicoverrideboolEquals(

Objectobj

)

CopyC# VB C++ F#

Page 271: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the
Page 272: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrGetHashCodeMethodGetahashcodeforthisitem

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

ReturnValueType:Int32Returnsthehashcodefortheattributenameandvalue.

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicoverrideintGetHashCode()

CopyC# VB C++ F#

Page 273: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrToStringMethodReturnastringrepresentationoftheitem

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

ReturnValueType:StringReturnstheiteminitsXMLformat

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicoverridestringToString()

CopyC# VB C++ F#

Page 274: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrCollectionClassThiscollectionclassisusedtoholdthehelpattributeitemsforaproject.

InheritanceHierarchySystemObjectSystem.Collections.ObjectModelCollectionMSHelpAttrSystem.ComponentModelBindingListMSHelpAttrSandcastleBuilder.UtilsMSHelpAttrCollection

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheMSHelpAttrCollectiontypeexposesthefollowingmembers.

Constructors Name Description

MSHelpAttrCollection Constructor

Top

Properties Name Description

publicclassMSHelpAttrCollection:BindingList<MSHelpAttr

CopyC# VB C++ F#

Page 275: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

AllowEdit Getsorsetsavalueindicatingwhetheritemsinthelistcanbeedited.(InheritedfromBindingListMSHelpAttr.)

AllowNew GetsorsetsavalueindicatingwhetheryoucanadditemstothelistusingtheAddNewmethod.(InheritedfromBindingListMSHelpAttr.)

AllowRemove Getsorsetsavalueindicatingwhetheryoucanremoveitemsfromthecollection.(InheritedfromBindingListMSHelpAttr.)

Count GetsthenumberofelementsactuallycontainedintheCollectionT.(InheritedfromCollectionMSHelpAttr.)

IsDirty Thisisusedtogetorsetthedirtystateofthecollection

IsSortedCore Getsavalueindicatingwhetherthelistissorted.(Inheritedfrom

Page 276: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

BindingListMSHelpAttr.)

Item Getsorsetstheelementatthespecifiedindex.(InheritedfromCollectionMSHelpAttr.)

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionMSHelpAttr.)

RaiseListChangedEvents GetsorsetsavalueindicatingwhetheraddingorremovingitemswithinthelistraisesListChangedevents.(InheritedfromBindingListMSHelpAttr.)

SortDirectionCore Getsthedirectionthelistissorted.(InheritedfromBindingListMSHelpAttr.)

SortPropertyCore Getsthepropertydescriptorthatisusedforsortingthelistifsortingisimplementedinaderivedclass;otherwise,returnsnull.(InheritedfromBindingListMSHelpAttr.)

SupportsChangeNotificationCore GetsavalueindicatingwhetherListChanged

Page 277: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

eventsareenabled.(InheritedfromBindingListMSHelpAttr.)

SupportsSearchingCore Getsavalueindicatingwhetherthelistsupportssearching.(InheritedfromBindingListMSHelpAttr.)

SupportsSortingCore Getsavalueindicatingwhetherthelistsupportssorting.(InheritedfromBindingListMSHelpAttr.)

Top

Methods Name Description

Add(T) AddsanobjecttotheendoftheCollection(InheritedfromCollectionMSHelpAttr

Add(String,String) Addanewitemtothecollection

AddNew Addsanewitemtothecollection.(InheritedfromBindingListMSHelpAttr

AddNewCore Addsanewitemtotheendofthecollection.(InheritedfromBindingListMSHelpAttr

ApplySortCore Sortstheitemsifoverriddeninaderivedclass;otherwise,throwsaNotSupportedException(InheritedfromBindingListMSHelpAttr

CancelNew Discardsapendingnewitem.

Page 278: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

(InheritedfromBindingListMSHelpAttr

Clear RemovesallelementsfromtheCollection(InheritedfromCollectionMSHelpAttr

ClearItems Removesallelementsfromthecollection.(InheritedfromBindingListMSHelpAttr

Contains Determineswhetheranelementisinthe(InheritedfromCollectionMSHelpAttr

CopyTo CopiestheentireCollectionTtoacompatibleone-dimensionalArray,startingatthespecifiedindexofthetargetarray.(InheritedfromCollectionMSHelpAttr

EndNew Commitsapendingnewitemtothecollection.(InheritedfromBindingListMSHelpAttr

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

FindCore Searchesfortheindexoftheitemthathasthespecifiedpropertydescriptorwiththespecifiedvalue,ifsearchingisimplementedinaderivedclass;otherwise,aNotSupportedException(InheritedfromBindingListMSHelpAttr

GetEnumerator ReturnsanenumeratorthatiteratesthroughtheCollectionT.(InheritedfromCollectionMSHelpAttr

Page 279: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IndexOf Searchesforthespecifiedobjectandreturnsthezero-basedindexofthefirstoccurrencewithintheentireCollectionT.(InheritedfromCollectionMSHelpAttr

Insert InsertsanelementintotheCollectionspecifiedindex.(InheritedfromCollectionMSHelpAttr

InsertItem Insertsthespecifiediteminthelistatthespecifiedindex.(InheritedfromBindingListMSHelpAttr

MarkAsDirty Thisisusedtomarkthecollectionaschangedwhenthereisnoassociatedproject.

MemberwiseClone Createsashallowcopyofthecurrent(InheritedfromObject.)

OnAddingNew RaisestheAddingNewevent.(InheritedfromBindingListMSHelpAttr

OnListChanged Thisisoverriddentomarkthecollectionasdirtywhenitchanges(OverridesBindingListTOnListChanged(ListChangedEventArgs)

Remove RemovesthefirstoccurrenceofaspecificobjectfromtheCollectionT.(InheritedfromCollectionMSHelpAttr

RemoveAt Removestheelementatthespecifiedindexofthe

Page 280: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

CollectionT.(InheritedfromCollectionMSHelpAttr

RemoveItem Removestheitematthespecifiedindex.(InheritedfromBindingListMSHelpAttr

RemoveSortCore RemovesanysortappliedwithApplySortCore(PropertyDescriptor,ListSortDirection)ifsortingisimplementedinaderivedclass;otherwise,raisesNotSupportedException.(InheritedfromBindingListMSHelpAttr

ResetBindings RaisesaListChangedeventoftype(InheritedfromBindingListMSHelpAttr

ResetItem RaisesaListChangedeventoftypetheitematthespecifiedposition.(InheritedfromBindingListMSHelpAttr

SetItem Replacestheitematthespecifiedindexwiththespecifieditem.(InheritedfromBindingListMSHelpAttr

Sort Thisisusedtosortthecollection

ToConfigurationString Convertthecollectiontoitsstringformforuseinthesandcastle.configfile.

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

WriteXml WritethecollectiontothegivenXMLtextwriter

Top

Events Name Description

Page 281: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

AddingNew Occursbeforeanitemisaddedtothelist.(InheritedfromBindingListMSHelpAttr.)

ListChanged Occurswhenthelistoraniteminthelistchanges.(InheritedfromBindingListMSHelpAttr.)

Top

SeeAlsoReferenceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 282: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrCollectionConstructorConstructor

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicMSHelpAttrCollection()

CopyC# VB C++ F#

Page 283: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrCollectionPropertiesTheMSHelpAttrCollectiontypeexposesthefollowingmembers.

Properties Name Description

AllowEdit Getsorsetsavalueindicatingwhetheritemsinthelistcanbeedited.(InheritedfromBindingListMSHelpAttr.)

AllowNew GetsorsetsavalueindicatingwhetheryoucanadditemstothelistusingtheAddNewmethod.(InheritedfromBindingListMSHelpAttr.)

AllowRemove Getsorsetsavalueindicatingwhetheryoucanremoveitemsfromthecollection.(InheritedfromBindingListMSHelpAttr.)

Count GetsthenumberofelementsactuallycontainedintheCollectionT.

Page 284: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

(InheritedfromCollectionMSHelpAttr.)

IsDirty Thisisusedtogetorsetthedirtystateofthecollection

IsSortedCore Getsavalueindicatingwhetherthelistissorted.(InheritedfromBindingListMSHelpAttr.)

Item Getsorsetstheelementatthespecifiedindex.(InheritedfromCollectionMSHelpAttr.)

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionMSHelpAttr.)

RaiseListChangedEvents GetsorsetsavalueindicatingwhetheraddingorremovingitemswithinthelistraisesListChangedevents.(InheritedfromBindingListMSHelpAttr.)

SortDirectionCore Getsthedirectionthelistissorted.(InheritedfromBindingListMSHelpAttr.)

Page 285: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

SortPropertyCore Getsthepropertydescriptorthatisusedforsortingthelistifsortingisimplementedinaderivedclass;otherwise,returnsnull.(InheritedfromBindingListMSHelpAttr.)

SupportsChangeNotificationCore GetsavalueindicatingwhetherListChangedeventsareenabled.(InheritedfromBindingListMSHelpAttr.)

SupportsSearchingCore Getsavalueindicatingwhetherthelistsupportssearching.(InheritedfromBindingListMSHelpAttr.)

SupportsSortingCore Getsavalueindicatingwhetherthelistsupportssorting.(InheritedfromBindingListMSHelpAttr.)

Top

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 286: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the
Page 287: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrCollectionIsDirtyPropertyThisisusedtogetorsetthedirtystateofthecollection

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicboolIsDirty{get;set;}

CopyC# VB C++ F#

Page 288: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrCollectionMethodsTheMSHelpAttrCollectiontypeexposesthefollowingmembers.

Methods Name Description

Add(T) AddsanobjecttotheendoftheCollection(InheritedfromCollectionMSHelpAttr

Add(String,String) Addanewitemtothecollection

AddNew Addsanewitemtothecollection.(InheritedfromBindingListMSHelpAttr

AddNewCore Addsanewitemtotheendofthecollection.(InheritedfromBindingListMSHelpAttr

ApplySortCore Sortstheitemsifoverriddeninaderivedclass;otherwise,throwsaNotSupportedException(InheritedfromBindingListMSHelpAttr

CancelNew Discardsapendingnewitem.(InheritedfromBindingListMSHelpAttr

Clear RemovesallelementsfromtheCollection(InheritedfromCollectionMSHelpAttr

ClearItems Removesallelementsfromthecollection.(InheritedfromBindingListMSHelpAttr

Contains Determineswhetheranelementisinthe(InheritedfromCollectionMSHelpAttr

Page 289: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

CopyTo CopiestheentireCollectionTtoacompatibleone-dimensionalArray,startingatthespecifiedindexofthetargetarray.(InheritedfromCollectionMSHelpAttr

EndNew Commitsapendingnewitemtothecollection.(InheritedfromBindingListMSHelpAttr

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

FindCore Searchesfortheindexoftheitemthathasthespecifiedpropertydescriptorwiththespecifiedvalue,ifsearchingisimplementedinaderivedclass;otherwise,aNotSupportedException(InheritedfromBindingListMSHelpAttr

GetEnumerator ReturnsanenumeratorthatiteratesthroughtheCollectionT.(InheritedfromCollectionMSHelpAttr

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IndexOf Searchesforthespecifiedobjectandreturnsthezero-basedindexofthefirstoccurrencewithintheentireCollectionT.(InheritedfromCollectionMSHelpAttr

Page 290: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Insert InsertsanelementintotheCollectionspecifiedindex.(InheritedfromCollectionMSHelpAttr

InsertItem Insertsthespecifiediteminthelistatthespecifiedindex.(InheritedfromBindingListMSHelpAttr

MarkAsDirty Thisisusedtomarkthecollectionaschangedwhenthereisnoassociatedproject.

MemberwiseClone Createsashallowcopyofthecurrent(InheritedfromObject.)

OnAddingNew RaisestheAddingNewevent.(InheritedfromBindingListMSHelpAttr

OnListChanged Thisisoverriddentomarkthecollectionasdirtywhenitchanges(OverridesBindingListTOnListChanged(ListChangedEventArgs)

Remove RemovesthefirstoccurrenceofaspecificobjectfromtheCollectionT.(InheritedfromCollectionMSHelpAttr

RemoveAt RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionMSHelpAttr

RemoveItem Removestheitematthespecifiedindex.(InheritedfromBindingListMSHelpAttr

RemoveSortCore RemovesanysortappliedwithApplySortCore(PropertyDescriptor,ListSortDirection)ifsortingisimplementedinaderivedclass;otherwise,raisesNotSupportedException.(InheritedfromBindingListMSHelpAttr

Page 291: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

ResetBindings RaisesaListChangedeventoftype(InheritedfromBindingListMSHelpAttr

ResetItem RaisesaListChangedeventoftypetheitematthespecifiedposition.(InheritedfromBindingListMSHelpAttr

SetItem Replacestheitematthespecifiedindexwiththespecifieditem.(InheritedfromBindingListMSHelpAttr

Sort Thisisusedtosortthecollection

ToConfigurationString Convertthecollectiontoitsstringformforuseinthesandcastle.configfile.

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

WriteXml WritethecollectiontothegivenXMLtextwriter

Top

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 292: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrCollectionAddMethod

OverloadList Name Description

Add(T) AddsanobjecttotheendoftheCollectionT.(InheritedfromCollectionMSHelpAttr.)

Add(String,String)

Addanewitemtothecollection

Top

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 293: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrCollectionAddMethod(String,String)Addanewitemtothecollection

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

nameType:SystemStringTheattributename

valueType:SystemStringTheattributevalue

ReturnValueType:MSHelpAttrTheMSHelpAttraddedtotheproject.IfIftheitemalreadyexistsinthecollection,theexistingitemisreturned.

Remarks

publicMSHelpAttrAdd(

stringname,

stringvalue

)

CopyC# VB C++ F#

Page 294: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

TheMSHelpAttrconstructorisinternalsothatwecontrolcreationoftheitemsandcanassociatethemwiththeproject.

SeeAlsoReferenceMSHelpAttrCollectionClassAddOverloadSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 295: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrCollectionMarkAsDirtyMethodThisisusedtomarkthecollectionaschangedwhenthereisnoassociatedproject.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicvoidMarkAsDirty()

CopyC# VB C++ F#

Page 296: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrCollectionOnListChangedMethodThisisoverriddentomarkthecollectionasdirtywhenitchanges

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

eType:System.ComponentModelListChangedEventArgsTheeventarguments

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

protectedoverridevoidOnListChanged(

ListChangedEventArgse

)

CopyC# VB C++ F#

Page 297: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrCollectionSortMethodThisisusedtosortthecollection

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

RemarksValuesaresortedbyattributenameandvalue

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicvoidSort()

CopyC# VB C++ F#

Page 298: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrCollectionToConfigurationStringMethodConvertthecollectiontoitsstringformforuseinthesandcastle.configfile.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

ReturnValueType:StringThehelpattributecollectioninstringformreadyforuseintheSandcastleBuildAssemblerconfigurationfile.

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringToConfigurationString()

CopyC# VB C++ F#

Page 299: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrCollectionWriteXmlMethodWritethecollectiontothegivenXMLtextwriter

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

xwType:System.XmlXmlWriterTheXMLtextwritertowhichtheinformationiswritten.

includeContainerType:SystemBooleanTruetowriteoutthecontainingHelpAttributeselement,falsetoexcludeit.

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

publicvoidWriteXml(

XmlWriterxw,

boolincludeContainer

)

CopyC# VB C++ F#

Page 301: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpAttrCollectionEventsTheMSHelpAttrCollectiontypeexposesthefollowingmembers.

Events Name Description

AddingNew Occursbeforeanitemisaddedtothelist.(InheritedfromBindingListMSHelpAttr.)

ListChanged Occurswhenthelistoraniteminthelistchanges.(InheritedfromBindingListMSHelpAttr.)

Top

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 302: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordClassThisrepresentsanHTMLHelp2.xindexkeywordthatcanbeaddedtotheXMLdataislandineachhelptopicgeneratedbyBuildAssembler.

InheritanceHierarchySystemObjectSandcastleBuilder.UtilsMSHelpKeyword

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheMSHelpKeywordtypeexposesthefollowingmembers.

Constructors Name Description

MSHelpKeyword Constructor

MSHelpKeyword(String,String) Constructor

Top

Properties

[SerializableAttribute]

publicclassMSHelpKeyword:IComparable<MSHelpKeyword

CopyC# VB C++ F#

Page 303: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Name Description

Index Thisisusedtogetorsettheindexname

Term Thisisusedtogetorsettheindexterm

Top

Methods Name Description

CompareTo Comparesthisinstancetoanotherinstanceandreturnsanindicationoftheirrelativevalues.

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(OverridesObjectEquals(Object).)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Getahashcodeforthisitem(OverridesObjectGetHashCode.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

Page 304: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ToString Returnastringrepresentationoftheitem(OverridesObjectToString.)

Top

SeeAlsoReferenceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 305: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordConstructor

OverloadList Name Description

MSHelpKeyword Constructor

MSHelpKeyword(String,String) Constructor

Top

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 306: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordConstructorConstructor

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

RemarksTheindexnamedefaultsto"K"

SeeAlsoReferenceMSHelpKeywordClassMSHelpKeywordOverloadSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicMSHelpKeyword()

CopyC# VB C++ F#

Page 307: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordConstructor(String,String)Constructor

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

indexNameType:SystemStringTheindexname

keywordTermType:SystemStringTheindexterm

SeeAlsoReferenceMSHelpKeywordClassMSHelpKeywordOverloadSandcastleBuilder.UtilsNamespace

publicMSHelpKeyword(

stringindexName,

stringkeywordTerm

)

CopyC# VB C++ F#

Page 309: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordPropertiesTheMSHelpKeywordtypeexposesthefollowingmembers.

Properties Name Description

Index Thisisusedtogetorsettheindexname

Term Thisisusedtogetorsettheindexterm

Top

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 310: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordIndexPropertyThisisusedtogetorsettheindexname

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringIndex{get;set;}

CopyC# VB C++ F#

Page 311: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordTermPropertyThisisusedtogetorsettheindexterm

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

PropertyValueType:String

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicstringTerm{get;set;}

CopyC# VB C++ F#

Page 312: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordMethodsTheMSHelpKeywordtypeexposesthefollowingmembers.

Methods Name Description

CompareTo Comparesthisinstancetoanotherinstanceandreturnsanindicationoftheirrelativevalues.

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(OverridesObjectEquals(Object).)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Getahashcodeforthisitem(OverridesObjectGetHashCode.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone Createsashallowcopyofthe

Page 313: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

currentObject.(InheritedfromObject.)

ToString Returnastringrepresentationoftheitem(OverridesObjectToString.)

Top

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 314: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordCompareToMethodComparesthisinstancetoanotherinstanceandreturnsanindicationoftheirrelativevalues.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

otherType:SandcastleBuilder.UtilsMSHelpKeywordAMSHelpKeywordobjecttocompare

ReturnValueType:Int32Returns-1ifthisinstanceislessthanthevalue,0iftheyareequal,or1ifthisinstanceisgreaterthanthevalueorthevalueisnull.ImplementsIComparableTCompareTo(T)

RemarksEntriesaresortedbynameandthenvalue

publicintCompareTo(

MSHelpKeywordother

)

CopyC# VB C++ F#

Page 315: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 316: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordEqualsMethodDetermineswhetherthespecifiedobjectisequaltothecurrentobject.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

objType:SystemObjectTheobjecttocomparewiththecurrentobject.

ReturnValueType:Booleantrueifthespecifiedobjectisequaltothecurrentobject;otherwise,false.

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicoverrideboolEquals(

Objectobj

)

CopyC# VB C++ F#

Page 317: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the
Page 318: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordGetHashCodeMethodGetahashcodeforthisitem

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

ReturnValueType:Int32Returnsthehashcodefortheindexnameandterm.

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicoverrideintGetHashCode()

CopyC# VB C++ F#

Page 319: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordToStringMethodReturnastringrepresentationoftheitem

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

ReturnValueType:StringReturnstheiteminitsXMLformat

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicoverridestringToString()

CopyC# VB C++ F#

Page 320: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordCollectionClassThiscollectionclassisusedtoholdthehelpindexkeyworditemsforaproject.

InheritanceHierarchySystemObjectSystem.Collections.ObjectModelCollectionMSHelpKeywordSystem.ComponentModelBindingListMSHelpKeywordSandcastleBuilder.UtilsMSHelpKeywordCollection

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

TheMSHelpKeywordCollectiontypeexposesthefollowingmembers.

Constructors Name Description

MSHelpKeywordCollection InitializesanewinstanceoftheMSHelpKeywordCollectionclass

Top

publicclassMSHelpKeywordCollection:BindingList<

CopyC# VB C++ F#

Page 321: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Properties Name Description

AllowEdit Getsorsetsavalueindicatingwhetheritemsinthelistcanbeedited.(InheritedfromBindingListMSHelpKeyword

AllowNew GetsorsetsavalueindicatingwhetheryoucanadditemstothelistusingtheAddNewmethod.(InheritedfromBindingListMSHelpKeyword

AllowRemove Getsorsetsavalueindicatingwhetheryoucanremoveitemsfromthecollection.(InheritedfromBindingListMSHelpKeyword

Count GetsthenumberofelementsactuallycontainedintheCollectionT.(InheritedfromCollectionMSHelpKeyword

IsSortedCore Getsavalueindicatingwhetherthelistissorted.(InheritedfromBindingListMSHelpKeyword

Item Getsorsetstheelementatthespecifiedindex.

Page 322: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

(InheritedfromCollectionMSHelpKeyword

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionMSHelpKeyword

RaiseListChangedEvents GetsorsetsavalueindicatingwhetheraddingorremovingitemswithinthelistraisesListChangedevents.(InheritedfromBindingListMSHelpKeyword

SortDirectionCore Getsthedirectionthelistissorted.(InheritedfromBindingListMSHelpKeyword

SortPropertyCore Getsthepropertydescriptorthatisusedforsortingthelistifsortingisimplementedinaderivedclass;otherwise,returnsnull.(InheritedfromBindingListMSHelpKeyword

SupportsChangeNotificationCore GetsavalueindicatingwhetherListChangedeventsareenabled.(InheritedfromBindingListMSHelpKeyword

SupportsSearchingCore Getsavalueindicatingwhetherthelistsupportssearching.(Inheritedfrom

Page 323: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

BindingListMSHelpKeyword

SupportsSortingCore Getsavalueindicatingwhetherthelistsupportssorting.(InheritedfromBindingListMSHelpKeyword

Top

Methods Name Description

Add AddsanobjecttotheendoftheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

AddNew Addsanewitemtothecollection.(InheritedfromBindingListMSHelpKeyword.)

AddNewCore Addsanewitemtotheendofthecollection.(InheritedfromBindingListMSHelpKeyword.)

ApplySortCore Sortstheitemsifoverriddeninaderivedclass;otherwise,throwsaNotSupportedException.(InheritedfromBindingListMSHelpKeyword.)

CancelNew Discardsapendingnewitem.(InheritedfromBindingListMSHelpKeyword.)

Page 324: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

Clear RemovesallelementsfromtheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

ClearItems Removesallelementsfromthecollection.(InheritedfromBindingListMSHelpKeyword.)

Contains DetermineswhetheranelementisintheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

CopyTo CopiestheentireCollectionTtoacompatibleone-dimensionalArray,startingatthespecifiedindexofthetargetarray.(InheritedfromCollectionMSHelpKeyword.)

EndNew Commitsapendingnewitemtothecollection.(InheritedfromBindingListMSHelpKeyword.)

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

Page 325: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

FindCore Searchesfortheindexoftheitemthathasthespecifiedpropertydescriptorwiththespecifiedvalue,ifsearchingisimplementedinaderivedclass;otherwise,aNotSupportedException.(InheritedfromBindingListMSHelpKeyword.)

GetEnumerator ReturnsanenumeratorthatiteratesthroughtheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IndexOf Searchesforthespecifiedobjectandreturnsthezero-basedindexofthefirstoccurrencewithintheentireCollectionT.(InheritedfromCollectionMSHelpKeyword.)

Insert InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionMSHelpKeyword.)

InsertItem Insertsthespecifiediteminthelistatthespecifiedindex.(InheritedfromBindingListMSHelpKeyword.)

Page 326: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

MarkAsDirty Thisisusedtomarkthecollectionaschangedwhenthereisnoassociatedproject.

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

OnAddingNew RaisestheAddingNewevent.(InheritedfromBindingListMSHelpKeyword.)

OnListChanged RaisestheListChangedevent.(InheritedfromBindingListMSHelpKeyword.)

Remove RemovesthefirstoccurrenceofaspecificobjectfromtheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

RemoveAt RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

RemoveItem Removestheitematthespecifiedindex.(InheritedfromBindingListMSHelpKeyword.)

RemoveSortCore RemovesanysortappliedwithApplySortCore(PropertyDescriptor,ListSortDirection)ifsortingisimplementedinaderivedclass;otherwise,raises

Page 327: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

NotSupportedException.(InheritedfromBindingListMSHelpKeyword.)

ResetBindings RaisesaListChangedeventoftypeReset.(InheritedfromBindingListMSHelpKeyword.)

ResetItem RaisesaListChangedeventoftypeItemChangedfortheitematthespecifiedposition.(InheritedfromBindingListMSHelpKeyword.)

SetItem Replacestheitematthespecifiedindexwiththespecifieditem.(InheritedfromBindingListMSHelpKeyword.)

Sort Thisisusedtosortthecollection

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

WriteXml Thisisusedtosavethekeywordcollectiontotheprojectfile.

Top

Events Name Description

AddingNew Occursbeforeanitemisaddedtothelist.(Inheritedfrom

Page 328: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

BindingListMSHelpKeyword.)

ListChanged Occurswhenthelistoraniteminthelistchanges.(InheritedfromBindingListMSHelpKeyword.)

Top

SeeAlsoReferenceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 329: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordCollectionConstructorInitializesanewinstanceoftheMSHelpKeywordCollectionclass

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

SeeAlsoReferenceMSHelpKeywordCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicMSHelpKeywordCollection()

CopyC# VB C++ F#

Page 330: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordCollectionPropertiesTheMSHelpKeywordCollectiontypeexposesthefollowingmembers.

Properties Name Description

AllowEdit Getsorsetsavalueindicatingwhetheritemsinthelistcanbeedited.(InheritedfromBindingListMSHelpKeyword

AllowNew GetsorsetsavalueindicatingwhetheryoucanadditemstothelistusingtheAddNewmethod.(InheritedfromBindingListMSHelpKeyword

AllowRemove Getsorsetsavalueindicatingwhetheryoucanremoveitemsfromthecollection.(InheritedfromBindingListMSHelpKeyword

Count GetsthenumberofelementsactuallycontainedintheCollectionT.(Inheritedfrom

Page 331: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

CollectionMSHelpKeyword

IsSortedCore Getsavalueindicatingwhetherthelistissorted.(InheritedfromBindingListMSHelpKeyword

Item Getsorsetstheelementatthespecifiedindex.(InheritedfromCollectionMSHelpKeyword

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionMSHelpKeyword

RaiseListChangedEvents GetsorsetsavalueindicatingwhetheraddingorremovingitemswithinthelistraisesListChangedevents.(InheritedfromBindingListMSHelpKeyword

SortDirectionCore Getsthedirectionthelistissorted.(InheritedfromBindingListMSHelpKeyword

SortPropertyCore Getsthepropertydescriptorthatisusedforsortingthelistifsortingisimplementedinaderivedclass;otherwise,returnsnull.(InheritedfromBindingListMSHelpKeyword

SupportsChangeNotificationCore Getsavalueindicating

Page 332: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

whetherListChangedeventsareenabled.(InheritedfromBindingListMSHelpKeyword

SupportsSearchingCore Getsavalueindicatingwhetherthelistsupportssearching.(InheritedfromBindingListMSHelpKeyword

SupportsSortingCore Getsavalueindicatingwhetherthelistsupportssorting.(InheritedfromBindingListMSHelpKeyword

Top

SeeAlsoReferenceMSHelpKeywordCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

Page 333: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordCollectionMethodsTheMSHelpKeywordCollectiontypeexposesthefollowingmembers.

Methods Name Description

Add AddsanobjecttotheendoftheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

AddNew Addsanewitemtothecollection.(InheritedfromBindingListMSHelpKeyword.)

AddNewCore Addsanewitemtotheendofthecollection.(InheritedfromBindingListMSHelpKeyword.)

ApplySortCore Sortstheitemsifoverriddeninaderivedclass;otherwise,throwsaNotSupportedException.(InheritedfromBindingListMSHelpKeyword.)

CancelNew Discardsapendingnewitem.(InheritedfromBindingListMSHelpKeyword.)

Clear Removesallelementsfromthe

Page 334: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

CollectionT.(InheritedfromCollectionMSHelpKeyword.)

ClearItems Removesallelementsfromthecollection.(InheritedfromBindingListMSHelpKeyword.)

Contains DetermineswhetheranelementisintheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

CopyTo CopiestheentireCollectionTtoacompatibleone-dimensionalArray,startingatthespecifiedindexofthetargetarray.(InheritedfromCollectionMSHelpKeyword.)

EndNew Commitsapendingnewitemtothecollection.(InheritedfromBindingListMSHelpKeyword.)

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

FindCore Searchesfortheindexoftheitem

Page 335: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

thathasthespecifiedpropertydescriptorwiththespecifiedvalue,ifsearchingisimplementedinaderivedclass;otherwise,aNotSupportedException.(InheritedfromBindingListMSHelpKeyword.)

GetEnumerator ReturnsanenumeratorthatiteratesthroughtheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IndexOf Searchesforthespecifiedobjectandreturnsthezero-basedindexofthefirstoccurrencewithintheentireCollectionT.(InheritedfromCollectionMSHelpKeyword.)

Insert InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionMSHelpKeyword.)

InsertItem Insertsthespecifiediteminthelistatthespecifiedindex.(InheritedfromBindingListMSHelpKeyword.)

Page 336: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

MarkAsDirty Thisisusedtomarkthecollectionaschangedwhenthereisnoassociatedproject.

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

OnAddingNew RaisestheAddingNewevent.(InheritedfromBindingListMSHelpKeyword.)

OnListChanged RaisestheListChangedevent.(InheritedfromBindingListMSHelpKeyword.)

Remove RemovesthefirstoccurrenceofaspecificobjectfromtheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

RemoveAt RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

RemoveItem Removestheitematthespecifiedindex.(InheritedfromBindingListMSHelpKeyword.)

RemoveSortCore RemovesanysortappliedwithApplySortCore(PropertyDescriptor,ListSortDirection)ifsortingisimplementedinaderivedclass;otherwise,raisesNotSupportedException.

Page 337: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

(InheritedfromBindingListMSHelpKeyword.)

ResetBindings RaisesaListChangedeventoftypeReset.(InheritedfromBindingListMSHelpKeyword.)

ResetItem RaisesaListChangedeventoftypeItemChangedfortheitematthespecifiedposition.(InheritedfromBindingListMSHelpKeyword.)

SetItem Replacestheitematthespecifiedindexwiththespecifieditem.(InheritedfromBindingListMSHelpKeyword.)

Sort Thisisusedtosortthecollection

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

WriteXml Thisisusedtosavethekeywordcollectiontotheprojectfile.

Top

SeeAlsoReferenceMSHelpKeywordCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

Page 339: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordCollectionMarkAsDirtyMethodThisisusedtomarkthecollectionaschangedwhenthereisnoassociatedproject.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

SeeAlsoReferenceMSHelpKeywordCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicvoidMarkAsDirty()

CopyC# VB C++ F#

Page 340: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordCollectionSortMethodThisisusedtosortthecollection

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

RemarksValuesaresortedbyindexnameandterm

SeeAlsoReferenceMSHelpKeywordCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicvoidSort()

CopyC# VB C++ F#

Page 341: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordCollectionWriteXmlMethodThisisusedtosavethekeywordcollectiontotheprojectfile.

Namespace:SandcastleBuilder.UtilsAssembly:ConvertHtmlToMaml(inConvertHtmlToMaml.exe)Version:1.0.0.2

Syntax

Parameters

xwType:System.XmlXmlWriterTheXMLtextwritertowhichtheinformationiswritten.

SeeAlsoReferenceMSHelpKeywordCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]

publicvoidWriteXml(

XmlWriterxw

)

CopyC# VB C++ F#

Page 342: HTML to MAML Converter · HTML to MAML Converter Using the Converter This topic will walk you through using the converter to convert a batch of HTML files to MAML topics. Using the

HTMLtoMAMLConverter

MSHelpKeywordCollectionEventsTheMSHelpKeywordCollectiontypeexposesthefollowingmembers.

Events Name Description

AddingNew Occursbeforeanitemisaddedtothelist.(InheritedfromBindingListMSHelpKeyword.)

ListChanged Occurswhenthelistoraniteminthelistchanges.(InheritedfromBindingListMSHelpKeyword.)

Top

SeeAlsoReferenceMSHelpKeywordCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

[email protected]