html to maml converter · html to maml converter using the converter this topic will walk you...

Post on 04-Jun-2020

29 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

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

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

SeeAlsoOtherResourcesUsingtheConverterVersionHistoryLinkstoResources

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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.

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

SendcommentsonthistopictoEric@EWoodruff.us

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

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

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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

h1-h6-Sectionheadings

img-Imagelinks

see-SeeAlsoreferences

Theseelementsshouldnotappearinanyoftheotherrules.

7. Oncedone,themarkupwrapperplaceholdersarereplacedwiththeiractualmarkupenclosedinaMAMLmarkupelement.

8. Theconvertedtopicissavedtothedestinationfolderalongwithsomesupportingfiles.

SeeAlsoOtherResourcesUsingtheConverter

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

MetadataTopicElementsCertaintopicelementsnotrepresentedintherulesfilearesearchedforinordertoextractcommonmetadatathatwillbeassociatedwiththeconvertedtopicfiles:

TheTitleElementIndexKeywordElementsHelpAttributeElementsSandcastleHelpFileBuilderSpecialCommentTags

Note

Allelementnamesarematchedcase-insensitively.

TheTitleElementTheHTMLfileshouldcontainastandardtitleelementthatdefinesthepagetitle.Ifnotfound,itwillbeleftblankinanyofthesupportingcontentfiles.

IndexKeywordElementsIftheparserfindsanyMSHelp:Keywordelements,itwillextracttheindexnameandthetermandwillsavethemtothesupportingcontentfiles.

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

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

SeeAlsoOtherResourcesTheConversionProcess

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

ConversionRuleElementsTheconversionrulesaredefinedinanXMLfilethatconsistsoffivemainparts.Eachpartisdescribedinthefollowingtopics.Thedefaultrulesetshouldworkquitewellformostdocumentsbutyouarefreetoalterandextendtherulesshouldtheynotmeetyourrequirements.

TheConversionRulesElementsSelectatopicbelowtolearnmoreabouteachelement:

TheBodyExtractElement

EntitiesRules

MarkupWrapperRules

RemoveRules

ReplaceRules

Note

Withtheexceptionofentitynamevalues,allotherattributeandregularexpressionrulevaluesarematchedcase-insensitively.

SeeAlsoOtherResourcesTheConversionProcess

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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

SendcommentsonthistopictoEric@EWoodruff.us

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

OtherResourcesTheConversionProcessConversionRuleElements

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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

SeeAlsoOtherResourcesTheConversionProcessConversionRuleElements

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

<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>

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

SeeAlsoOtherResourcesTheConversionProcessConversionRuleElements

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

<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>

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

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

SeeAlsoOtherResourcesTheConversionProcessConversionRuleElements

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

<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>

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

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,

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

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

ConversionRuleElements

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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.

SeeAlsoOtherResourcesTheConversionProcessWarningsandToDoItems

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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

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

ThiscommentprecedesanyHTMLelementswrappedintheMAMLmarkupelement.Thecontentoftheelementshouldbereviewedtoseeifitshouldberetained,removed,oreditedtouseotherappropriateMAMLelements.

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

SeeAlsoOtherResourcesTheConversionProcessAdditionalOutputFiles

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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

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

ParagraphspacingisinconsistentOmittingparaelementsaroundparagraphsorusingself-closingparaelementscancausesomeinconsistentspacingbetweenparagraphs.Tomakeitconsistent,wrapallparagraphsinopeningandclosingparaelements.

SeeAlsoOtherResourcesUsingtheConverterTheConversionProcess

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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

</row>

<row>

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

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

</row>

</table>

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

SendcommentsonthistopictoEric@EWoodruff.us

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

ThisfilecontainsinformationabouttheimagesreferencedinmediaLinkandmediaLinkInlineelementsinconceptualcontent.

RreferencebuildAbuildthatusesSandcastletoproducehelpfiletopicsusinginformationextractedfrommanagedassembliesandtheirassociatedXMLcommentsfiles.

SeeAlso:conceptualbuild,Sandcastle

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

SeeAlso:SandcastleHelpFileBuilder

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

SeeAlso:Sandcastle

Ttoken,tokenfile

Atokenisusedasareplaceabletagwithinatopicandisrepresentedusingatokenelement.Theinnertextoftheelementisatokenname.Thetokensaredefinedinaseparatetokenfile.Theyareaneasywaytorepresentcommonitemsthatyouuseregularlysuchasacommonphraseorexternallink.

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

VersionHistoryThetopicsinthissectiondescribethevariouschangesmadetotheHTMLtoMAMLConverteroverthelifeoftheproject.

VersionHistorySelectaversionbelowtoseeadescriptionofitschanges.

Version1.0.0.1

Version1.0.0.0

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

Version1.0.0.1Version1.0.0.1wasreleasedonJuly26th,2010.

ChangesinThisReleaseFixedabugthatcausedacrashwhenaJavaScriptreferencewasencounteredinananchortag'sHREFattribute.Suchreferencesarenowignoredandawarningiswrittentothetopicandthelogfileinstead.

SeeAlsoOtherResourcesVersionHistory

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

Version1.0.0.0Version1.0.0.0wasreleasedonOctober25th,2008.

ChangesinThisReleaseInitialrelease.

SeeAlsoOtherResourcesVersionHistory

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

HtmlToMamlConversionNamespaceThisnamespacecontainstheclassesusedtoconvertHTMLfilestoMAMLtopicfiles.

Classes Class Description

ConversionProgressEventArgs ThisisacustomeventargumentsclassfortheConversionProgressevent.

ConvertHtmlToMaml ThisutilityisusedtoconvertHTMLfilestoMAMLtopicsandcreatesomesupportingfiles.

FileParser ThisisusedtoparseanHTMLfiletoextractthevariouspartsforconversiontoMAML

HtmlToMaml ThisclassisusedtoconvertasetofHTMLfiletotheircloseequivalentasconceptualMAML

topicfiles.

ImageReference Thisrepresentsanimagereference

ImageReferenceCollection Thisisacollectionofimagereferences

TagOptions ThisisusedtocontaintheoptionsandstateforaTagentryfromtheconversionrulesfile.

Topic Thisrepresentsatopicfile

TopicCollection Thisisacollectionoftopicitems

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

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.)

Top

SeeAlsoReferenceHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

ConversionProgressEventArgsConstructorConstructor

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

Syntax

Parameters

progressMessageType:SystemStringTheprogressmessage

SeeAlsoReferenceConversionProgressEventArgsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicConversionProgressEventArgs(

stringprogressMessage

)

CopyC# VB C++ F#

HTMLtoMAMLConverter

ConversionProgressEventArgsPropertiesTheConversionProgressEventArgstypeexposesthefollowingmembers.

Properties Name Description

Message Getthemessageassociatedwiththeprogressreport

Top

SeeAlsoReferenceConversionProgressEventArgsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

ConversionProgressEventArgsMessagePropertyGetthemessageassociatedwiththeprogressreport

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

Syntax

PropertyValueType:String

SeeAlsoReferenceConversionProgressEventArgsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringMessage{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

ConversionProgressEventArgsMethodsTheConversionProgressEventArgstypeexposesthefollowingmembers.

Methods Name Description

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceConversionProgressEventArgsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

ConvertHtmlToMamlMethodsTheConvertHtmlToMamltypeexposesthefollowingmembers.

Methods Name Description

Main Mainprogramentrypoint

Top

SeeAlsoReferenceConvertHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

bodyparsedfromthefile

BodyExtractExpression Thisisusedtogetorsetthebodyextractregularexpression

HelpAttributes Thisreturnsthehelpattributesparsedfromthefile

HelpKeywords Thisreturnsthehelpkeywordsparsedfromthefile

IsDefaultTopic Thisreturnsthedefaulttopicflagiffoundinthetopic

RevisionNumber Thisreturnstherevisionnumberparsedfromthefile

SortOrder Thisreturnsthesortordervalueiffoundinthetopic

SplitToc ThisreturnsthesplitTOCflagiffoundinthetopic

Title Thisreturnsthetitleparsedfromthefile

TocExclude ThisreturnstheTOCexcludeflagiffoundinthetopic

TopicAbstract Thisreturnstheabstract

parsedfromthefile

TopicId ThisreturnsthetopicIDparsedfromthefile

Top

Methods Name Description

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ParseFile ParsethespecifiedHTMLfile

ReadWithEncoding Thisisusedtoreadinafileusinganappropriateencodingmethod

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

FileParserConstructorInitializesanewinstanceoftheFileParserclass

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

Syntax

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicFileParser()

CopyC# VB C++ F#

HTMLtoMAMLConverter

FileParserPropertiesTheFileParsertypeexposesthefollowingmembers.

Properties Name Description

Body ThisreturnstheHTMLbodyparsedfromthefile

BodyExtractExpression Thisisusedtogetorsetthebodyextractregularexpression

HelpAttributes Thisreturnsthehelpattributesparsedfromthefile

HelpKeywords Thisreturnsthehelpkeywordsparsedfromthefile

IsDefaultTopic Thisreturnsthedefaulttopicflagiffoundinthetopic

RevisionNumber Thisreturnstherevisionnumberparsedfromthefile

SortOrder Thisreturnsthesortordervalueiffoundinthetopic

SplitToc ThisreturnsthesplitTOCflagiffoundinthetopic

Title Thisreturnsthetitleparsedfromthefile

TocExclude ThisreturnstheTOCexcludeflagiffoundinthetopic

TopicAbstract Thisreturnstheabstractparsedfromthefile

TopicId ThisreturnsthetopicIDparsedfromthefile

Top

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

FileParserBodyPropertyThisreturnstheHTMLbodyparsedfromthefile

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

Syntax

PropertyValueType:String

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringBody{get;}

CopyC# VB C++ F#

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#

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

FileParserHelpAttributesPropertyThisreturnsthehelpattributesparsedfromthefile

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

Syntax

PropertyValueType:MSHelpAttrCollection

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicMSHelpAttrCollectionHelpAttributes{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

FileParserHelpKeywordsPropertyThisreturnsthehelpkeywordsparsedfromthefile

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

Syntax

PropertyValueType:MSHelpKeywordCollection

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicMSHelpKeywordCollectionHelpKeywords{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

FileParserIsDefaultTopicPropertyThisreturnsthedefaulttopicflagiffoundinthetopic

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

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicboolIsDefaultTopic{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

FileParserRevisionNumberPropertyThisreturnstherevisionnumberparsedfromthefile

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

Syntax

PropertyValueType:String

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringRevisionNumber{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

FileParserSortOrderPropertyThisreturnsthesortordervalueiffoundinthetopic

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

Syntax

PropertyValueType:Int32

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicintSortOrder{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

FileParserSplitTocPropertyThisreturnsthesplitTOCflagiffoundinthetopic

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

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicboolSplitToc{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

FileParserTitlePropertyThisreturnsthetitleparsedfromthefile

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

Syntax

PropertyValueType:String

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringTitle{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

FileParserTocExcludePropertyThisreturnstheTOCexcludeflagiffoundinthetopic

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

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicboolTocExclude{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

FileParserTopicAbstractPropertyThisreturnstheabstractparsedfromthefile

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

Syntax

PropertyValueType:String

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringTopicAbstract{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

FileParserTopicIdPropertyThisreturnsthetopicIDparsedfromthefile

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

Syntax

PropertyValueType:Guid

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicGuidTopicId{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

FileParserMethodsTheFileParsertypeexposesthefollowingmembers.

Methods Name Description

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ParseFile ParsethespecifiedHTMLfile

ReadWithEncoding Thisisusedtoreadinafileusinganappropriateencodingmethod

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

SendcommentsonthistopictoEric@EWoodruff.us

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#

Whenreadingthefile,usethedefaultencodingspecifiedbutdetecttheencodingifbyteordermarksarepresent.Inaddition,ifthetemplateisanXMLfileanditcontainsanencodingidentifierintheXMLtag,thefileisreadusingthatencoding.

SeeAlsoReferenceFileParserClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

PathProvider Thisreturnsthebasepathproviderfortheotherclassesinvolvedintheconversionthatneedrelativepaths.

Top

Methods Name Description

ConvertTopic Thisiscalledtoconvertasingletopicanditschildren

ConvertTopics Thisiscalledtoperformtheactualconversion

CreateCompanionFile Createacompanionfileforatopic

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

OnConversionProgress ThisraisestheConversionProgressevent.

ReportProgress Thisisusedtoreportprogressduringtheconversion

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

Events Name Description

ConversionProgress Thiseventisraisedtoreportprogressinformationthroughouttheconversionprocess.

Top

SeeAlsoReference

HtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

HtmlToMamlPropertiesTheHtmlToMamltypeexposesthefollowingmembers.

Properties Name Description

BasePath Thisreturnsthesourcepathforuseasthebasepath

PathProvider Thisreturnsthebasepathproviderfortheotherclassesinvolvedintheconversionthatneedrelativepaths.

Top

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

HtmlToMamlBasePathPropertyThisreturnsthesourcepathforuseasthebasepath

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

Syntax

PropertyValueType:StringImplementsIBasePathProviderBasePath

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringBasePath{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

HtmlToMamlPathProviderPropertyThisreturnsthebasepathproviderfortheotherclassesinvolvedintheconversionthatneedrelativepaths.

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

Syntax

ReturnValueType:IBasePathProviderTheHtmlToMamlobjectperformingtheconversion.

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstaticIBasePathProviderPathProvider{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

HtmlToMamlMethodsTheHtmlToMamltypeexposesthefollowingmembers.

Methods Name Description

ConvertTopic Thisiscalledtoconvertasingletopicanditschildren

ConvertTopics Thisiscalledtoperformtheactualconversion

CreateCompanionFile Createacompanionfileforatopic

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

OnConversionProgress ThisraisestheConversionProgressevent.

ReportProgress Thisisusedtoreportprogressduringtheconversion

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

HtmlToMamlConvertTopicMethodThisiscalledtoconvertasingletopicanditschildren

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

Syntax

Parameters

topicType:HtmlToMamlConversionTopicThetopictoconvert

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicvoidConvertTopic(

Topictopic

)

CopyC# VB C++ F#

HTMLtoMAMLConverter

HtmlToMamlConvertTopicsMethodThisiscalledtoperformtheactualconversion

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

Syntax

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicvoidConvertTopics()

CopyC# VB C++ F#

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#

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

HtmlToMamlOnConversionProgressMethodThisraisestheConversionProgressevent.

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

Syntax

Parameters

eType:HtmlToMamlConversionConversionProgressEventArgsTheeventarguments

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

protectedvirtualvoidOnConversionProgress(

ConversionProgressEventArgse

)

CopyC# VB C++ F#

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#

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

HtmlToMamlEventsTheHtmlToMamltypeexposesthefollowingmembers.

Events Name Description

ConversionProgress Thiseventisraisedtoreportprogressinformationthroughouttheconversionprocess.

Top

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

HtmlToMamlConversionProgressEventThiseventisraisedtoreportprogressinformationthroughouttheconversionprocess.

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

Syntax

ValueType:SystemEventHandlerConversionProgressEventArgs

SeeAlsoReferenceHtmlToMamlClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publiceventEventHandler<ConversionProgressEventArgs

CopyC# VB C++ F#

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#

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.)

Top

SeeAlsoReferenceHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

ImageReferenceConstructorConstructor

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

Syntax

Parameters

sourceType:SystemStringThesourceimagefile

SeeAlsoReferenceImageReferenceClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicImageReference(

stringsource

)

CopyC# VB C++ F#

HTMLtoMAMLConverter

ImageReferencePropertiesTheImageReferencetypeexposesthefollowingmembers.

Properties Name Description

AlternateText Getorsettheimage'salternatetext

Id Thisreturnstheimage'suniqueID

SourceFile Thisisusedtogetthesourceimagefilename

Top

SeeAlsoReferenceImageReferenceClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

ImageReferenceAlternateTextPropertyGetorsettheimage'salternatetext

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

Syntax

PropertyValueType:String

SeeAlsoReferenceImageReferenceClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringAlternateText{get;set;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

ImageReferenceIdPropertyThisreturnstheimage'suniqueID

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

Syntax

PropertyValueType:String

SeeAlsoReferenceImageReferenceClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringId{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

ImageReferenceSourceFilePropertyThisisusedtogetthesourceimagefilename

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

Syntax

PropertyValueType:FilePath

SeeAlsoReferenceImageReferenceClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicFilePathSourceFile{get;set;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

ImageReferenceMethodsTheImageReferencetypeexposesthefollowingmembers.

Methods Name Description

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ToString Converttostringfordebuggingpurposes(OverridesObjectToString.)

Top

SeeAlsoReferenceImageReferenceClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

ImageReferenceToStringMethodConverttostringfordebuggingpurposes

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

Syntax

ReturnValueType:StringThestringrepresentationofthetopic

SeeAlsoReferenceImageReferenceClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicoverridestringToString()

CopyC# VB C++ F#

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#

Name Description

Count GetsthenumberofelementsactuallycontainedintheCollectionT.(InheritedfromCollectionImageReference.)

Item Getsorsetstheelementatthespecifiedindex.(InheritedfromCollectionImageReference.)

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionImageReference.)

Top

Methods Name Description

Add AddsanobjecttotheendoftheCollectionT.(InheritedfromCollectionImageReference.)

Clear RemovesallelementsfromtheCollectionT.(InheritedfromCollectionImageReference.)

ClearItems RemovesallelementsfromtheCollectionT.(InheritedfromCollectionImageReference.)

Contains DetermineswhetheranelementisintheCollectionT.(InheritedfromCollectionImageReference.)

CopyTo CopiestheentireCollectionTtoacompatibleone-dimensionalArray,startingatthespecifiedindexofthetargetarray.(InheritedfromCollectionImageReference.)

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetEnumerator ReturnsanenumeratorthatiteratesthroughtheCollectionT.(InheritedfromCollectionImageReference.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IndexOf Searchesforthespecifiedobjectandreturnsthezero-basedindexofthefirstoccurrencewithintheentireCollectionT.(InheritedfromCollectionImageReference.)

Insert InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionImageReference.)

InsertItem InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionImageReference.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

Remove RemovesthefirstoccurrenceofaspecificobjectfromtheCollectionT.(InheritedfromCollectionImageReference.)

RemoveAt RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionImageReference.)

RemoveItem RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionImageReference.)

Save Writetheimagereferencecollectiontoamediacontentfile.

SetItem Replacestheelementatthespecifiedindex.(InheritedfromCollectionImageReference.)

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

ImageReferenceCollectionConstructorInitializesanewinstanceoftheImageReferenceCollectionclass

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

Syntax

SeeAlsoReferenceImageReferenceCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicImageReferenceCollection()

CopyC# VB C++ F#

HTMLtoMAMLConverter

ImageReferenceCollectionPropertiesTheImageReferenceCollectiontypeexposesthefollowingmembers.

Properties Name Description

Count GetsthenumberofelementsactuallycontainedintheCollectionT.(InheritedfromCollectionImageReference.)

Item Getsorsetstheelementatthespecifiedindex.(InheritedfromCollectionImageReference.)

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionImageReference.)

Top

SeeAlsoReferenceImageReferenceCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

ImageReferenceCollectionMethodsTheImageReferenceCollectiontypeexposesthefollowingmembers.

Methods Name Description

Add AddsanobjecttotheendoftheCollectionT.(InheritedfromCollectionImageReference.)

Clear RemovesallelementsfromtheCollectionT.(InheritedfromCollectionImageReference.)

ClearItems RemovesallelementsfromtheCollectionT.(InheritedfromCollectionImageReference.)

Contains DetermineswhetheranelementisintheCollectionT.(InheritedfromCollectionImageReference.)

CopyTo CopiestheentireCollectionTtoacompatibleone-dimensionalArray,startingatthespecifiedindexofthe

targetarray.(InheritedfromCollectionImageReference.)

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetEnumerator ReturnsanenumeratorthatiteratesthroughtheCollectionT.(InheritedfromCollectionImageReference.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IndexOf Searchesforthespecifiedobjectandreturnsthezero-basedindexofthefirstoccurrencewithintheentireCollectionT.(InheritedfromCollectionImageReference.)

Insert InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionImageReference.)

InsertItem InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionImageReference.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

Remove RemovesthefirstoccurrenceofaspecificobjectfromtheCollectionT.(InheritedfromCollectionImageReference.)

RemoveAt RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionImageReference.)

RemoveItem RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionImageReference.)

Save Writetheimagereferencecollectiontoamediacontentfile.

SetItem Replacestheelementatthespecifiedindex.(InheritedfromCollectionImageReference.)

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceImageReferenceCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

ImageReferenceCollectionSaveMethodWritetheimagereferencecollectiontoamediacontentfile.

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

Syntax

Parameters

filenameType:SystemStringThefiletowhichtheimagereferencecollectionissaved.

SeeAlsoReferenceImageReferenceCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicvoidSave(

stringfilename

)

CopyC# VB C++ F#

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#

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.

(InheritedfromObject.)

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

TagOptionsConstructorConstructor

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

Syntax

Parameters

tagType:System.Xml.XPathXPathNavigatorThetagnode

SeeAlsoReferenceTagOptionsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicTagOptions(

XPathNavigatortag

)

CopyC# VB C++ F#

HTMLtoMAMLConverter

TagOptionsPropertiesTheTagOptionstypeexposesthefollowingmembers.

Properties Name Description

Attributes Thisreturnstheattributestousebasedonthelastevaluation

Closing Thisreturnstheclosing"/"iftheelementisanendtag

Tag Thisreturnsthereplacementtagtousebasedonthelastevaluation.

Top

SeeAlsoReferenceTagOptionsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

TagOptionsAttributesPropertyThisreturnstheattributestousebasedonthelastevaluation

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

Syntax

PropertyValueType:String

SeeAlsoReferenceTagOptionsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringAttributes{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TagOptionsClosingPropertyThisreturnstheclosing"/"iftheelementisanendtag

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

Syntax

PropertyValueType:String

SeeAlsoReferenceTagOptionsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringClosing{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TagOptionsTagPropertyThisreturnsthereplacementtagtousebasedonthelastevaluation.

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

Syntax

PropertyValueType:String

SeeAlsoReferenceTagOptionsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringTag{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TagOptionsMethodsTheTagOptionstypeexposesthefollowingmembers.

Methods Name Description

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Evaluate Evaluatethematchanddeterminethepropertiestouseforthereplacement.

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceTagOptionsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

TagOptionsEvaluateMethodEvaluatethematchanddeterminethepropertiestouseforthereplacement.

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

Syntax

Parameters

matchType:System.Text.RegularExpressionsMatchTheregularexpressionmatchtoevaluate

SeeAlsoReferenceTagOptionsClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicvoidEvaluate(

Matchmatch

)

CopyC# VB C++ F#

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#

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

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ParseFile Parsethetopicanditssub-topicfilestoextracttheinformationforconversion

ToString Converttostringfordebuggingpurposes(OverridesObjectToString.)

Top

SeeAlsoReferenceHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

TopicConstructorConstructor

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

Syntax

Parameters

sourceType:SystemStringThesourcefileornulltocreateanemptycontainernodewithnoassociatedtopic

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicTopic(

stringsource

)

CopyC# VB C++ F#

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

collectionofsub-topics,ifany

Title Getorsetthetopic'stitle

TocExclude ThisreturnstheTOCexcludeflagiffoundinthetopic

TopicAbstract Getorsetthetopic'sabstract

Top

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

TopicBodyPropertyGetorsetthetopic'sbody

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

Syntax

PropertyValueType:String

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringBody{get;set;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicHelpAttributesPropertyGetthehelpattributescollection

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

Syntax

PropertyValueType:MSHelpAttrCollectionIfnullorempty,therearenoattributes

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicMSHelpAttrCollectionHelpAttributes{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicHelpKeywordsPropertyGetthehelpkeywordscollection

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

Syntax

PropertyValueType:MSHelpKeywordCollectionIfnullorempty,therearenokeywords

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicMSHelpKeywordCollectionHelpKeywords{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicIdPropertyThisreturnsthetopic'suniqueID

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

Syntax

PropertyValueType:Guid

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicGuidId{get;set;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicIsDefaultTopicPropertyThisreturnsthedefaulttopicflagiffoundinthetopic

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

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicboolIsDefaultTopic{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicRevisionNumberPropertyGetorsetthetopic'srevisionnumber

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

Syntax

PropertyValueType:String

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringRevisionNumber{get;set;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicSortOrderPropertyThisreturnsthesortordervalueiffoundinthetopic

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

Syntax

PropertyValueType:Int32

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicintSortOrder{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicSourceFilePropertyThisisusedtogetthesourceHTMLfilename

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

Syntax

PropertyValueType:FilePathIfsettonull,theitemwillrepresentacontainernodewithnoassociatedtopic.

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicFilePathSourceFile{get;set;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicSplitTocPropertyThisreturnsthesplitTOCflagiffoundinthetopic

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

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicboolSplitToc{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicSubtopicsPropertyThisisusedtogetthecollectionofsub-topics,ifany

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

Syntax

PropertyValueType:TopicCollection

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicTopicCollectionSubtopics{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicTitlePropertyGetorsetthetopic'stitle

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

Syntax

PropertyValueType:String

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringTitle{get;set;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicTocExcludePropertyThisreturnstheTOCexcludeflagiffoundinthetopic

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

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicboolTocExclude{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicTopicAbstractPropertyGetorsetthetopic'sabstract

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

Syntax

PropertyValueType:String

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringTopicAbstract{get;set;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicMethodsTheTopictypeexposesthefollowingmembers.

Methods Name Description

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ParseFile Parsethetopicanditssub-topicfilestoextracttheinformationforconversion

ToString Converttostringfordebuggingpurposes(OverridesObjectToString.)

Top

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

TopicToStringMethodConverttostringfordebuggingpurposes

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

Syntax

ReturnValueType:StringThestringrepresentationofthetopic

SeeAlsoReferenceTopicClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicoverridestringToString()

CopyC# VB C++ F#

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#

actuallycontainedintheCollectionT.(InheritedfromCollectionTopic.)

DefaultTopic Thisisusedtogetthedefaulttopic

Item Getsorsetstheelementatthespecifiedindex.(InheritedfromCollectionTopic.)

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionTopic.)

SplitTocAtTopic ThisisusedtogetthetopicatwhichthetableofcontentissplitbytheAPIcontent.

Top

Methods Name Description

Add AddsanobjecttotheendoftheCollectionT.(InheritedfromCollectionTopic.)

AddTopicsFromFolder Addalltopicsfromthespecifiedfolderrecursivelytothetopiccollection.

Clear RemovesallelementsfromtheCollectionT.(Inheritedfrom

CollectionTopic.)

ClearItems RemovesallelementsfromtheCollectionT.(InheritedfromCollectionTopic.)

Contains DetermineswhetheranelementisintheCollectionT.(InheritedfromCollectionTopic.)

CopyTo CopiestheentireCollectionTtoacompatibleone-dimensionalArray,startingatthespecifiedindexofthetargetarray.(InheritedfromCollectionTopic.)

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetEnumerator ReturnsanenumeratorthatiteratesthroughtheCollectionT.

(InheritedfromCollectionTopic.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IndexOf Searchesforthespecifiedobjectandreturnsthezero-basedindexofthefirstoccurrencewithintheentireCollectionT.(InheritedfromCollectionTopic.)

Insert InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionTopic.)

InsertItem InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionTopic.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ParseFiles Parseallfilesinthecollectiontoextractthe

informationforconversion.

Remove RemovesthefirstoccurrenceofaspecificobjectfromtheCollectionT.(InheritedfromCollectionTopic.)

RemoveAt RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionTopic.)

RemoveItem RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionTopic.)

Save Savethetopiccollectiontothenamedcontentlayoutfile

SetItem Replacestheelementatthespecifiedindex.(InheritedfromCollectionTopic.)

Sort Thisisusedtosortthecollection

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

TopicCollectionConstructorInitializesanewinstanceoftheTopicCollectionclass

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

Syntax

SeeAlsoReferenceTopicCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicTopicCollection()

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicCollectionPropertiesTheTopicCollectiontypeexposesthefollowingmembers.

Properties Name Description

Count GetsthenumberofelementsactuallycontainedintheCollectionT.(InheritedfromCollectionTopic.)

DefaultTopic Thisisusedtogetthedefaulttopic

Item Getsorsetstheelementatthespecifiedindex.(InheritedfromCollectionTopic.)

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionTopic.)

SplitTocAtTopic ThisisusedtogetthetopicatwhichthetableofcontentissplitbytheAPIcontent.

Top

SeeAlsoReferenceTopicCollectionClass

HtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

TopicCollectionDefaultTopicPropertyThisisusedtogetthedefaulttopic

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

Syntax

PropertyValueType:TopicItreturnsthedefaulttopicornullifoneisnotset

SeeAlsoReferenceTopicCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicTopicDefaultTopic{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicCollectionSplitTocAtTopicPropertyThisisusedtogetthetopicatwhichthetableofcontentissplitbytheAPIcontent.

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

Syntax

PropertyValueType:TopicThiswillonlybevalidifitreferstoarootleveltopic.Itwillreturnnullifasplitlocationhasnotbeensetattherootlevel.

SeeAlsoReferenceTopicCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicTopicSplitTocAtTopic{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicCollectionMethodsTheTopicCollectiontypeexposesthefollowingmembers.

Methods Name Description

Add AddsanobjecttotheendoftheCollectionT.(InheritedfromCollectionTopic.)

AddTopicsFromFolder Addalltopicsfromthespecifiedfolderrecursivelytothetopiccollection.

Clear RemovesallelementsfromtheCollectionT.(InheritedfromCollectionTopic.)

ClearItems RemovesallelementsfromtheCollectionT.(InheritedfromCollectionTopic.)

Contains DetermineswhetheranelementisintheCollectionT.(InheritedfromCollectionTopic.)

CopyTo Copiestheentire

CollectionTtoacompatibleone-dimensionalArray,startingatthespecifiedindexofthetargetarray.(InheritedfromCollectionTopic.)

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetEnumerator ReturnsanenumeratorthatiteratesthroughtheCollectionT.(InheritedfromCollectionTopic.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IndexOf Searchesforthespecifiedobjectandreturnsthezero-basedindexofthe

firstoccurrencewithintheentireCollectionT.(InheritedfromCollectionTopic.)

Insert InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionTopic.)

InsertItem InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionTopic.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ParseFiles Parseallfilesinthecollectiontoextracttheinformationforconversion.

Remove RemovesthefirstoccurrenceofaspecificobjectfromtheCollectionT.(InheritedfromCollectionTopic.)

RemoveAt RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionTopic.)

RemoveItem RemovestheelementatthespecifiedindexoftheCollectionT.(InheritedfromCollectionTopic.)

Save Savethetopiccollectiontothenamedcontentlayoutfile

SetItem Replacestheelementatthespecifiedindex.(InheritedfromCollectionTopic.)

Sort Thisisusedtosortthecollection

ToString Returnsastringthatrepresentsthecurrentobject.(InheritedfromObject.)

Top

SeeAlsoReferenceTopicCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

ReferenceTopicCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

TopicCollectionSaveMethodSavethetopiccollectiontothenamedcontentlayoutfile

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

Syntax

Parameters

filenameType:SystemStringThefilenametowhichthecontentlayoutissaved.

SeeAlsoReferenceTopicCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicvoidSave(

stringfilename

)

CopyC# VB C++ F#

HTMLtoMAMLConverter

TopicCollectionSortMethodThisisusedtosortthecollection

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

Syntax

RemarksValuesaresortedbydisplaytitle.Comparisonsarecase-sensitive.

SeeAlsoReferenceTopicCollectionClassHtmlToMamlConversionNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicvoidSort()

CopyC# VB C++ F#

HTMLtoMAMLConverter

SandcastleBuilder.UtilsNamespaceThisnamespacecontainsclassesfromtheSandcastleHelpFileBuilderutilitieslibraryusedintheHTMLtoMAMLconverter.

Classes Class Description

FilePath Thisclassisusedtorepresentafilepath.Supportisincludedfortreatingthepathasfixedorrelativeandforexpandingenvironmentvariablesinthepathname.

FolderPath Thisclassisusedtorepresentafolderpath.Supportisincludedfortreatingthepathasfixedorrelativeandforexpandingenvironmentvariablesinthepathname.

MSHelpAttr ThisrepresentsanHTMLHelp2.xattributethatcanbe

addedtotheXMLdataislandineachhelptopicgeneratedbyBuildAssembler.

MSHelpAttrCollection Thiscollectionclassisusedtoholdthehelpattributeitemsforaproject.

MSHelpKeyword ThisrepresentsanHTMLHelp2.xindexkeywordthatcanbeaddedtotheXMLdataislandineachhelptopicgeneratedbyBuildAssembler.

MSHelpKeywordCollection Thiscollectionclassisusedtoholdthehelpindexkeyworditemsforaproject.

Interfaces Interface Description

IBasePathProvider ThisinterfacedefinesthepropertiesusedtoobtainabasepathforaFilePathobject.

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

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

persistingtostoragebasedonthecurrentsettings.

Top

Methods Name Description

AbsoluteToRelativePath Thishelpermethodcanbeusedtoconvertanabsolutepathtoonethatisrelativetothegivenbasepath.

Clone Thisreturnsacloneoftheobject

Equals Thisisoverriddentoallowpropercomparisonoffilepathobjects.(OverridesObjectEquals(Object).)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetFullPath Thisreturnsthefullyqualifiedpathforthespecifiedpath.Thisversionallowswildcardsinthefilenamepartifpresent.

GetHashCode Getahashcodeforthefilepathobject(OverridesObjectGetHashCode.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

OnPersistablePathChanged ThisraisesthePersistablePathChangedevent

OnPersistablePathChanging ThisraisesthePersistablePathChangingevent

RelativeToAbsolutePath Thishelpermethodcanbeusedtoconvertarelativepathtoanabsolutepathbasedonthegivenbasepath.

ToString Convertthefilepathtoastring(OverridesObjectToString.)

Top

Events Name Description

PersistablePathChanged Thiseventisraisedwhenthepersistablepathchanges

PersistablePathChanging Thiseventisraisedwhenthepersistablepathisabouttobechanged

Top

Operators Name Description

Equality Overloadforequaloperator.

(FilePathtoString)

ThisisusedtohandleanimplicitconversionfromaFilePathobjecttoastring

Inequality Overloadfornotequaloperator.

Top

SeeAlsoReferenceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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

SendcommentsonthistopictoEric@EWoodruff.us

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

SendcommentsonthistopictoEric@EWoodruff.us

publicFilePath(

IBasePathProviderprovider

)

CopyC# VB C++ F#

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#

ReferenceFilePathClassFilePathOverloadSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

FilePathClassFilePathOverloadSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

FilePathPropertiesTheFilePathtypeexposesthefollowingmembers.

Properties Name Description

BasePath Thisreturnsthebasepathfortheobject

BasePathProvider Thisisusedtogetthebasepathproviderfortheobject.

Exists Thisread-onlypropertycanbeusedtodeterminewhetherornotthefilepathexists

ExpandedPath Thisread-onlypropertyisusedtodisplaythefullyqualifiedpathwithenvironmentvariableexpansionsinthedesigner.

IsFixedPath ThisisusedtoindicatewhetherornotthepathwillbetreatedasarelativeorfixedpathwhenconvertedretrievedviathePersistablePathproperty.

Path Thisisusedtogetorsetthepathtouse.

PersistablePath Thisisusedtoretrievethefile

pathinaformatsuitableforpersistingtostoragebasedonthecurrentsettings.

Top

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

FilePathBasePathPropertyThisreturnsthebasepathfortheobject

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

Syntax

PropertyValueType:StringIfnoIBasePathProviderhasbeenspecified,thisreturnsthecurrentdirectory

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringBasePath{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

FilePathBasePathProviderPropertyThisisusedtogetthebasepathproviderfortheobject.

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

Syntax

PropertyValueType:IBasePathProvider

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicIBasePathProviderBasePathProvider{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

FilePathExistsPropertyThisread-onlypropertycanbeusedtodeterminewhetherornotthefilepathexists

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

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicvirtualboolExists{get;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

FilePathExpandedPathPropertyThisread-onlypropertyisusedtodisplaythefullyqualifiedpathwithenvironmentvariableexpansionsinthedesigner.

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

Syntax

PropertyValueType:String

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringExpandedPath{get;}

CopyC# VB C++ F#

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

SendcommentsonthistopictoEric@EWoodruff.us

publicboolIsFixedPath{get;set;}

CopyC# VB C++ F#

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

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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

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

SendcommentsonthistopictoEric@EWoodruff.us

publicvirtualstringPersistablePath{get;set;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

FilePathMethodsTheFilePathtypeexposesthefollowingmembers.

Methods Name Description

AbsoluteToRelativePath Thishelpermethodcanbeusedtoconvertanabsolutepathtoonethatisrelativetothegivenbasepath.

Clone Thisreturnsacloneoftheobject

Equals Thisisoverriddentoallowpropercomparisonoffilepathobjects.(OverridesObjectEquals(Object).)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetFullPath Thisreturnsthefullyqualifiedpathforthespecifiedpath.This

versionallowswildcardsinthefilenamepartifpresent.

GetHashCode Getahashcodeforthefilepathobject(OverridesObjectGetHashCode.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

OnPersistablePathChanged ThisraisesthePersistablePathChangedevent

OnPersistablePathChanging ThisraisesthePersistablePathChangingevent

RelativeToAbsolutePath Thishelpermethodcanbeusedtoconvertarelativepathtoanabsolutepathbasedonthegivenbasepath.

ToString Convertthefilepathtoastring(OverridesObjectToString.)

Top

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

Ifthebasepathisnullorempty,thecurrentworkingfolderisused.

Examples

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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

HTMLtoMAMLConverter

FilePathCloneMethodThisreturnsacloneoftheobject

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

Syntax

ReturnValueType:ObjectAcloneoftheobjectImplementsICloneableClone

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicObjectClone()

CopyC# VB C++ F#

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

SendcommentsonthistopictoEric@EWoodruff.us

publicoverrideboolEquals(

Objectobj

)

CopyC# VB C++ F#

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#

ReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

FilePathGetHashCodeMethodGetahashcodeforthefilepathobject

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

Syntax

ReturnValueType:Int32ReturnsthehashcodeoftheToStringvalueconvertedtolowercase

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicoverrideintGetHashCode()

CopyC# VB C++ F#

HTMLtoMAMLConverter

FilePathOnPersistablePathChangedMethodThisraisesthePersistablePathChangedevent

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

Syntax

Parameters

eType:SystemEventArgsTheeventarguments

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

protectedvoidOnPersistablePathChanged(

EventArgse

)

CopyC# VB C++ F#

HTMLtoMAMLConverter

FilePathOnPersistablePathChangingMethodThisraisesthePersistablePathChangingevent

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

Syntax

Parameters

eType:SystemEventArgsTheeventarguments

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

protectedvoidOnPersistablePathChanging(

EventArgse

)

CopyC# VB C++ F#

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#

Ifthebasepathisnullorempty,thecurrentworkingfolderisused.

Examples

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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

HTMLtoMAMLConverter

FilePathToStringMethodConvertthefilepathtoastring

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

Syntax

ReturnValueType:StringAfixedorrelativepathbasedonthecurrentsettings

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicoverridestringToString()

CopyC# VB C++ F#

HTMLtoMAMLConverter

FilePathEventsTheFilePathtypeexposesthefollowingmembers.

Events Name Description

PersistablePathChanged Thiseventisraisedwhenthepersistablepathchanges

PersistablePathChanging Thiseventisraisedwhenthepersistablepathisabouttobechanged

Top

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

FilePathPersistablePathChangedEventThiseventisraisedwhenthepersistablepathchanges

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

Syntax

ValueType:SystemEventHandler

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publiceventEventHandlerPersistablePathChanged

CopyC# VB C++ F#

HTMLtoMAMLConverter

FilePathPersistablePathChangingEventThiseventisraisedwhenthepersistablepathisabouttobechanged

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

Syntax

ValueType:SystemEventHandler

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publiceventEventHandlerPersistablePathChanging

CopyC# VB C++ F#

HTMLtoMAMLConverter

FilePathOperatorsandTypeConversionsTheFilePathtypeexposesthefollowingmembers.

Operators Name Description

Equality Overloadforequaloperator.

(FilePathtoString)

ThisisusedtohandleanimplicitconversionfromaFilePathobjecttoastring

Inequality Overloadfornotequaloperator.

Top

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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

SeeAlsoReferenceFilePathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

//TheFilePathobjectisautomaticallyconvertedtoastring

//representingtheexpanded,fullyqualifiedpath.

stringpathString=filePath;

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#

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

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

PersistablePathproperty.(InheritedfromFilePath.)

Path Thisisusedtogetorsetthepath.(OverridesFilePathPath.)

PersistablePath Thisisusedtoretrievethefilepathinaformatsuitableforpersistingtostoragebasedonthecurrentsettings.(InheritedfromFilePath.)

Top

Methods Name Description

Clone Thisreturnsacloneoftheobject(InheritedfromFilePath.)

Equals Thisisoverriddentoallowpropercomparisonoffilepathobjects.(InheritedfromFilePath.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Getahashcodeforthefilepathobject

(InheritedfromFilePath.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IsPathTerminated Thiscanbeusedtofindoutifapathisterminatedwithatrailingbackslash.

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

OnPersistablePathChanged ThisraisesthePersistablePathChangedevent(InheritedfromFilePath.)

OnPersistablePathChanging ThisraisesthePersistablePathChangingevent(InheritedfromFilePath.)

TerminatePath Thiscanbeusedtoensurethatapathisterminatedwithatrailingbackslash.

ToString Convertthefilepathtoastring(InheritedfromFilePath.)

Top

Events Name Description

PersistablePathChanged Thiseventisraisedwhenthepersistablepathchanges(InheritedfromFilePath.)

PersistablePathChanging Thiseventisraisedwhenthepersistablepathisabouttobechanged(InheritedfromFilePath.)

Top

SeeAlsoReferenceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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

SendcommentsonthistopictoEric@EWoodruff.us

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

SendcommentsonthistopictoEric@EWoodruff.us

publicFolderPath(

IBasePathProviderprovider

)

CopyC# VB C++ F#

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#

ReferenceFolderPathClassFolderPathOverloadSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

FolderPathClassFolderPathOverloadSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

FolderPathPropertiesTheFolderPathtypeexposesthefollowingmembers.

Properties Name Description

BasePath Thisreturnsthebasepathfortheobject(InheritedfromFilePath.)

BasePathProvider Thisisusedtogetthebasepathproviderfortheobject.(InheritedfromFilePath.)

Exists Thisread-onlypropertycanbeusedtodeterminewhetherornotthefolderpathexists.(OverridesFilePathExists.)

ExpandedPath Thisread-onlypropertyisusedtodisplaythefullyqualifiedpathwithenvironmentvariableexpansionsinthedesigner.(InheritedfromFilePath.)

IsFixedPath ThisisusedtoindicatewhetherornotthepathwillbetreatedasarelativeorfixedpathwhenconvertedretrievedviathePersistablePathproperty.

(InheritedfromFilePath.)

Path Thisisusedtogetorsetthepath.(OverridesFilePathPath.)

PersistablePath Thisisusedtoretrievethefilepathinaformatsuitableforpersistingtostoragebasedonthecurrentsettings.(InheritedfromFilePath.)

Top

SeeAlsoReferenceFolderPathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

FolderPathExistsPropertyThisread-onlypropertycanbeusedtodeterminewhetherornotthefolderpathexists.

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

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceFolderPathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicoverrideboolExists{get;}

CopyC# VB C++ F#

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

SeeAlsoReferenceFolderPathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

//Setittoapathbasedonanenvironmentvariable

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

HTMLtoMAMLConverter

FolderPathMethodsTheFolderPathtypeexposesthefollowingmembers.

Methods Name Description

Clone Thisreturnsacloneoftheobject(InheritedfromFilePath.)

Equals Thisisoverriddentoallowpropercomparisonoffilepathobjects.(InheritedfromFilePath.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Getahashcodeforthefilepathobject(InheritedfromFilePath.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IsPathTerminated Thiscanbeusedtofindoutifapathisterminated

withatrailingbackslash.

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

OnPersistablePathChanged ThisraisesthePersistablePathChangedevent(InheritedfromFilePath.)

OnPersistablePathChanging ThisraisesthePersistablePathChangingevent(InheritedfromFilePath.)

TerminatePath Thiscanbeusedtoensurethatapathisterminatedwithatrailingbackslash.

ToString Convertthefilepathtoastring(InheritedfromFilePath.)

Top

SeeAlsoReferenceFolderPathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

FolderPathEventsTheFolderPathtypeexposesthefollowingmembers.

Events Name Description

PersistablePathChanged Thiseventisraisedwhenthepersistablepathchanges(InheritedfromFilePath.)

PersistablePathChanging Thiseventisraisedwhenthepersistablepathisabouttobechanged(InheritedfromFilePath.)

Top

SeeAlsoReferenceFolderPathClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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

SendcommentsonthistopictoEric@EWoodruff.us

publicinterfaceIBasePathProvider

CopyC# VB C++ F#

HTMLtoMAMLConverter

IBasePathProviderPropertiesTheIBasePathProvidertypeexposesthefollowingmembers.

Properties Name Description

BasePath Thisread-onlypropertyreturnsthebasepath

Top

SeeAlsoReferenceIBasePathProviderInterfaceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

IBasePathProviderBasePathPropertyThisread-onlypropertyreturnsthebasepath

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

Syntax

PropertyValueType:String

SeeAlsoReferenceIBasePathProviderInterfaceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

stringBasePath{get;}

CopyC# VB C++ F#

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#

Top

Methods Name Description

CompareTo Comparesthisinstancetoanotherinstanceandreturnsanindicationoftheirrelativevalues.

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(OverridesObjectEquals(Object).)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Getahashcodeforthisitem(OverridesObjectGetHashCode.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ToString Returnastringrepresentationoftheitem

(OverridesObjectToString.)

Top

SeeAlsoReferenceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

MSHelpAttrPropertiesTheMSHelpAttrtypeexposesthefollowingmembers.

Properties Name Description

AttributeName Thisisusedtogetorsettheattributename

AttributeValue Thisisusedtogetorsettheattributevalue

IsDirty Thisisusedtogetorsetthedirtystateoftheitem

Top

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

MSHelpAttrAttributeNamePropertyThisisusedtogetorsettheattributename

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

Syntax

PropertyValueType:String

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringAttributeName{get;set;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

MSHelpAttrAttributeValuePropertyThisisusedtogetorsettheattributevalue

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

Syntax

PropertyValueType:String

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringAttributeValue{get;set;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

MSHelpAttrIsDirtyPropertyThisisusedtogetorsetthedirtystateoftheitem

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

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicboolIsDirty{get;set;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

MSHelpAttrMethodsTheMSHelpAttrtypeexposesthefollowingmembers.

Methods Name Description

CompareTo Comparesthisinstancetoanotherinstanceandreturnsanindicationoftheirrelativevalues.

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(OverridesObjectEquals(Object).)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Getahashcodeforthisitem(OverridesObjectGetHashCode.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone Createsashallowcopyofthe

currentObject.(InheritedfromObject.)

ToString Returnastringrepresentationoftheitem(OverridesObjectToString.)

Top

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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

SendcommentsonthistopictoEric@EWoodruff.us

publicoverrideboolEquals(

Objectobj

)

CopyC# VB C++ F#

HTMLtoMAMLConverter

MSHelpAttrGetHashCodeMethodGetahashcodeforthisitem

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

Syntax

ReturnValueType:Int32Returnsthehashcodefortheattributenameandvalue.

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicoverrideintGetHashCode()

CopyC# VB C++ F#

HTMLtoMAMLConverter

MSHelpAttrToStringMethodReturnastringrepresentationoftheitem

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

Syntax

ReturnValueType:StringReturnstheiteminitsXMLformat

SeeAlsoReferenceMSHelpAttrClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicoverridestringToString()

CopyC# VB C++ F#

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#

AllowEdit Getsorsetsavalueindicatingwhetheritemsinthelistcanbeedited.(InheritedfromBindingListMSHelpAttr.)

AllowNew GetsorsetsavalueindicatingwhetheryoucanadditemstothelistusingtheAddNewmethod.(InheritedfromBindingListMSHelpAttr.)

AllowRemove Getsorsetsavalueindicatingwhetheryoucanremoveitemsfromthecollection.(InheritedfromBindingListMSHelpAttr.)

Count GetsthenumberofelementsactuallycontainedintheCollectionT.(InheritedfromCollectionMSHelpAttr.)

IsDirty Thisisusedtogetorsetthedirtystateofthecollection

IsSortedCore Getsavalueindicatingwhetherthelistissorted.(Inheritedfrom

BindingListMSHelpAttr.)

Item Getsorsetstheelementatthespecifiedindex.(InheritedfromCollectionMSHelpAttr.)

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionMSHelpAttr.)

RaiseListChangedEvents GetsorsetsavalueindicatingwhetheraddingorremovingitemswithinthelistraisesListChangedevents.(InheritedfromBindingListMSHelpAttr.)

SortDirectionCore Getsthedirectionthelistissorted.(InheritedfromBindingListMSHelpAttr.)

SortPropertyCore Getsthepropertydescriptorthatisusedforsortingthelistifsortingisimplementedinaderivedclass;otherwise,returnsnull.(InheritedfromBindingListMSHelpAttr.)

SupportsChangeNotificationCore GetsavalueindicatingwhetherListChanged

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.

(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

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

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

AddingNew Occursbeforeanitemisaddedtothelist.(InheritedfromBindingListMSHelpAttr.)

ListChanged Occurswhenthelistoraniteminthelistchanges.(InheritedfromBindingListMSHelpAttr.)

Top

SeeAlsoReferenceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

MSHelpAttrCollectionConstructorConstructor

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

Syntax

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicMSHelpAttrCollection()

CopyC# VB C++ F#

HTMLtoMAMLConverter

MSHelpAttrCollectionPropertiesTheMSHelpAttrCollectiontypeexposesthefollowingmembers.

Properties Name Description

AllowEdit Getsorsetsavalueindicatingwhetheritemsinthelistcanbeedited.(InheritedfromBindingListMSHelpAttr.)

AllowNew GetsorsetsavalueindicatingwhetheryoucanadditemstothelistusingtheAddNewmethod.(InheritedfromBindingListMSHelpAttr.)

AllowRemove Getsorsetsavalueindicatingwhetheryoucanremoveitemsfromthecollection.(InheritedfromBindingListMSHelpAttr.)

Count GetsthenumberofelementsactuallycontainedintheCollectionT.

(InheritedfromCollectionMSHelpAttr.)

IsDirty Thisisusedtogetorsetthedirtystateofthecollection

IsSortedCore Getsavalueindicatingwhetherthelistissorted.(InheritedfromBindingListMSHelpAttr.)

Item Getsorsetstheelementatthespecifiedindex.(InheritedfromCollectionMSHelpAttr.)

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionMSHelpAttr.)

RaiseListChangedEvents GetsorsetsavalueindicatingwhetheraddingorremovingitemswithinthelistraisesListChangedevents.(InheritedfromBindingListMSHelpAttr.)

SortDirectionCore Getsthedirectionthelistissorted.(InheritedfromBindingListMSHelpAttr.)

SortPropertyCore Getsthepropertydescriptorthatisusedforsortingthelistifsortingisimplementedinaderivedclass;otherwise,returnsnull.(InheritedfromBindingListMSHelpAttr.)

SupportsChangeNotificationCore GetsavalueindicatingwhetherListChangedeventsareenabled.(InheritedfromBindingListMSHelpAttr.)

SupportsSearchingCore Getsavalueindicatingwhetherthelistsupportssearching.(InheritedfromBindingListMSHelpAttr.)

SupportsSortingCore Getsavalueindicatingwhetherthelistsupportssorting.(InheritedfromBindingListMSHelpAttr.)

Top

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

MSHelpAttrCollectionIsDirtyPropertyThisisusedtogetorsetthedirtystateofthecollection

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

Syntax

PropertyValueType:Boolean

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicboolIsDirty{get;set;}

CopyC# VB C++ F#

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

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

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

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

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

MSHelpAttrCollectionAddMethod

OverloadList Name Description

Add(T) AddsanobjecttotheendoftheCollectionT.(InheritedfromCollectionMSHelpAttr.)

Add(String,String)

Addanewitemtothecollection

Top

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

TheMSHelpAttrconstructorisinternalsothatwecontrolcreationoftheitemsandcanassociatethemwiththeproject.

SeeAlsoReferenceMSHelpAttrCollectionClassAddOverloadSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

MSHelpAttrCollectionMarkAsDirtyMethodThisisusedtomarkthecollectionaschangedwhenthereisnoassociatedproject.

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

Syntax

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicvoidMarkAsDirty()

CopyC# VB C++ F#

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

SendcommentsonthistopictoEric@EWoodruff.us

protectedoverridevoidOnListChanged(

ListChangedEventArgse

)

CopyC# VB C++ F#

HTMLtoMAMLConverter

MSHelpAttrCollectionSortMethodThisisusedtosortthecollection

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

Syntax

RemarksValuesaresortedbyattributenameandvalue

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicvoidSort()

CopyC# VB C++ F#

HTMLtoMAMLConverter

MSHelpAttrCollectionToConfigurationStringMethodConvertthecollectiontoitsstringformforuseinthesandcastle.configfile.

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

Syntax

ReturnValueType:StringThehelpattributecollectioninstringformreadyforuseintheSandcastleBuildAssemblerconfigurationfile.

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringToConfigurationString()

CopyC# VB C++ F#

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#

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

MSHelpAttrCollectionEventsTheMSHelpAttrCollectiontypeexposesthefollowingmembers.

Events Name Description

AddingNew Occursbeforeanitemisaddedtothelist.(InheritedfromBindingListMSHelpAttr.)

ListChanged Occurswhenthelistoraniteminthelistchanges.(InheritedfromBindingListMSHelpAttr.)

Top

SeeAlsoReferenceMSHelpAttrCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

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.)

MemberwiseClone CreatesashallowcopyofthecurrentObject.(InheritedfromObject.)

ToString Returnastringrepresentationoftheitem(OverridesObjectToString.)

Top

SeeAlsoReferenceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

MSHelpKeywordConstructor

OverloadList Name Description

MSHelpKeyword Constructor

MSHelpKeyword(String,String) Constructor

Top

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

MSHelpKeywordConstructorConstructor

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

Syntax

RemarksTheindexnamedefaultsto"K"

SeeAlsoReferenceMSHelpKeywordClassMSHelpKeywordOverloadSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicMSHelpKeyword()

CopyC# VB C++ F#

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#

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

MSHelpKeywordPropertiesTheMSHelpKeywordtypeexposesthefollowingmembers.

Properties Name Description

Index Thisisusedtogetorsettheindexname

Term Thisisusedtogetorsettheindexterm

Top

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

MSHelpKeywordIndexPropertyThisisusedtogetorsettheindexname

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

Syntax

PropertyValueType:String

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringIndex{get;set;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

MSHelpKeywordTermPropertyThisisusedtogetorsettheindexterm

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

Syntax

PropertyValueType:String

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicstringTerm{get;set;}

CopyC# VB C++ F#

HTMLtoMAMLConverter

MSHelpKeywordMethodsTheMSHelpKeywordtypeexposesthefollowingmembers.

Methods Name Description

CompareTo Comparesthisinstancetoanotherinstanceandreturnsanindicationoftheirrelativevalues.

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(OverridesObjectEquals(Object).)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

GetHashCode Getahashcodeforthisitem(OverridesObjectGetHashCode.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

MemberwiseClone Createsashallowcopyofthe

currentObject.(InheritedfromObject.)

ToString Returnastringrepresentationoftheitem(OverridesObjectToString.)

Top

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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#

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

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

SendcommentsonthistopictoEric@EWoodruff.us

publicoverrideboolEquals(

Objectobj

)

CopyC# VB C++ F#

HTMLtoMAMLConverter

MSHelpKeywordGetHashCodeMethodGetahashcodeforthisitem

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

Syntax

ReturnValueType:Int32Returnsthehashcodefortheindexnameandterm.

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicoverrideintGetHashCode()

CopyC# VB C++ F#

HTMLtoMAMLConverter

MSHelpKeywordToStringMethodReturnastringrepresentationoftheitem

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

Syntax

ReturnValueType:StringReturnstheiteminitsXMLformat

SeeAlsoReferenceMSHelpKeywordClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicoverridestringToString()

CopyC# VB C++ F#

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#

Properties Name Description

AllowEdit Getsorsetsavalueindicatingwhetheritemsinthelistcanbeedited.(InheritedfromBindingListMSHelpKeyword

AllowNew GetsorsetsavalueindicatingwhetheryoucanadditemstothelistusingtheAddNewmethod.(InheritedfromBindingListMSHelpKeyword

AllowRemove Getsorsetsavalueindicatingwhetheryoucanremoveitemsfromthecollection.(InheritedfromBindingListMSHelpKeyword

Count GetsthenumberofelementsactuallycontainedintheCollectionT.(InheritedfromCollectionMSHelpKeyword

IsSortedCore Getsavalueindicatingwhetherthelistissorted.(InheritedfromBindingListMSHelpKeyword

Item Getsorsetstheelementatthespecifiedindex.

(InheritedfromCollectionMSHelpKeyword

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionMSHelpKeyword

RaiseListChangedEvents GetsorsetsavalueindicatingwhetheraddingorremovingitemswithinthelistraisesListChangedevents.(InheritedfromBindingListMSHelpKeyword

SortDirectionCore Getsthedirectionthelistissorted.(InheritedfromBindingListMSHelpKeyword

SortPropertyCore Getsthepropertydescriptorthatisusedforsortingthelistifsortingisimplementedinaderivedclass;otherwise,returnsnull.(InheritedfromBindingListMSHelpKeyword

SupportsChangeNotificationCore GetsavalueindicatingwhetherListChangedeventsareenabled.(InheritedfromBindingListMSHelpKeyword

SupportsSearchingCore Getsavalueindicatingwhetherthelistsupportssearching.(Inheritedfrom

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.)

Clear RemovesallelementsfromtheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

ClearItems Removesallelementsfromthecollection.(InheritedfromBindingListMSHelpKeyword.)

Contains DetermineswhetheranelementisintheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

CopyTo CopiestheentireCollectionTtoacompatibleone-dimensionalArray,startingatthespecifiedindexofthetargetarray.(InheritedfromCollectionMSHelpKeyword.)

EndNew Commitsapendingnewitemtothecollection.(InheritedfromBindingListMSHelpKeyword.)

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

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.)

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

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

BindingListMSHelpKeyword.)

ListChanged Occurswhenthelistoraniteminthelistchanges.(InheritedfromBindingListMSHelpKeyword.)

Top

SeeAlsoReferenceSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

MSHelpKeywordCollectionConstructorInitializesanewinstanceoftheMSHelpKeywordCollectionclass

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

Syntax

SeeAlsoReferenceMSHelpKeywordCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicMSHelpKeywordCollection()

CopyC# VB C++ F#

HTMLtoMAMLConverter

MSHelpKeywordCollectionPropertiesTheMSHelpKeywordCollectiontypeexposesthefollowingmembers.

Properties Name Description

AllowEdit Getsorsetsavalueindicatingwhetheritemsinthelistcanbeedited.(InheritedfromBindingListMSHelpKeyword

AllowNew GetsorsetsavalueindicatingwhetheryoucanadditemstothelistusingtheAddNewmethod.(InheritedfromBindingListMSHelpKeyword

AllowRemove Getsorsetsavalueindicatingwhetheryoucanremoveitemsfromthecollection.(InheritedfromBindingListMSHelpKeyword

Count GetsthenumberofelementsactuallycontainedintheCollectionT.(Inheritedfrom

CollectionMSHelpKeyword

IsSortedCore Getsavalueindicatingwhetherthelistissorted.(InheritedfromBindingListMSHelpKeyword

Item Getsorsetstheelementatthespecifiedindex.(InheritedfromCollectionMSHelpKeyword

Items GetsaIListTwrapperaroundtheCollectionT.(InheritedfromCollectionMSHelpKeyword

RaiseListChangedEvents GetsorsetsavalueindicatingwhetheraddingorremovingitemswithinthelistraisesListChangedevents.(InheritedfromBindingListMSHelpKeyword

SortDirectionCore Getsthedirectionthelistissorted.(InheritedfromBindingListMSHelpKeyword

SortPropertyCore Getsthepropertydescriptorthatisusedforsortingthelistifsortingisimplementedinaderivedclass;otherwise,returnsnull.(InheritedfromBindingListMSHelpKeyword

SupportsChangeNotificationCore Getsavalueindicating

whetherListChangedeventsareenabled.(InheritedfromBindingListMSHelpKeyword

SupportsSearchingCore Getsavalueindicatingwhetherthelistsupportssearching.(InheritedfromBindingListMSHelpKeyword

SupportsSortingCore Getsavalueindicatingwhetherthelistsupportssorting.(InheritedfromBindingListMSHelpKeyword

Top

SeeAlsoReferenceMSHelpKeywordCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

MSHelpKeywordCollectionMethodsTheMSHelpKeywordCollectiontypeexposesthefollowingmembers.

Methods Name Description

Add AddsanobjecttotheendoftheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

AddNew Addsanewitemtothecollection.(InheritedfromBindingListMSHelpKeyword.)

AddNewCore Addsanewitemtotheendofthecollection.(InheritedfromBindingListMSHelpKeyword.)

ApplySortCore Sortstheitemsifoverriddeninaderivedclass;otherwise,throwsaNotSupportedException.(InheritedfromBindingListMSHelpKeyword.)

CancelNew Discardsapendingnewitem.(InheritedfromBindingListMSHelpKeyword.)

Clear Removesallelementsfromthe

CollectionT.(InheritedfromCollectionMSHelpKeyword.)

ClearItems Removesallelementsfromthecollection.(InheritedfromBindingListMSHelpKeyword.)

Contains DetermineswhetheranelementisintheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

CopyTo CopiestheentireCollectionTtoacompatibleone-dimensionalArray,startingatthespecifiedindexofthetargetarray.(InheritedfromCollectionMSHelpKeyword.)

EndNew Commitsapendingnewitemtothecollection.(InheritedfromBindingListMSHelpKeyword.)

Equals Determineswhetherthespecifiedobjectisequaltothecurrentobject.(InheritedfromObject.)

Finalize Allowsanobjecttotrytofreeresourcesandperformothercleanupoperationsbeforeitisreclaimedbygarbagecollection.(InheritedfromObject.)

FindCore Searchesfortheindexoftheitem

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

GetEnumerator ReturnsanenumeratorthatiteratesthroughtheCollectionT.(InheritedfromCollectionMSHelpKeyword.)

GetHashCode Servesasthedefaulthashfunction.(InheritedfromObject.)

GetType GetstheTypeofthecurrentinstance.(InheritedfromObject.)

IndexOf Searchesforthespecifiedobjectandreturnsthezero-basedindexofthefirstoccurrencewithintheentireCollectionT.(InheritedfromCollectionMSHelpKeyword.)

Insert InsertsanelementintotheCollectionTatthespecifiedindex.(InheritedfromCollectionMSHelpKeyword.)

InsertItem Insertsthespecifiediteminthelistatthespecifiedindex.(InheritedfromBindingListMSHelpKeyword.)

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.

(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

SendcommentsonthistopictoEric@EWoodruff.us

HTMLtoMAMLConverter

MSHelpKeywordCollectionMarkAsDirtyMethodThisisusedtomarkthecollectionaschangedwhenthereisnoassociatedproject.

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

Syntax

SeeAlsoReferenceMSHelpKeywordCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicvoidMarkAsDirty()

CopyC# VB C++ F#

HTMLtoMAMLConverter

MSHelpKeywordCollectionSortMethodThisisusedtosortthecollection

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

Syntax

RemarksValuesaresortedbyindexnameandterm

SeeAlsoReferenceMSHelpKeywordCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

publicvoidSort()

CopyC# VB C++ F#

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

SendcommentsonthistopictoEric@EWoodruff.us

publicvoidWriteXml(

XmlWriterxw

)

CopyC# VB C++ F#

HTMLtoMAMLConverter

MSHelpKeywordCollectionEventsTheMSHelpKeywordCollectiontypeexposesthefollowingmembers.

Events Name Description

AddingNew Occursbeforeanitemisaddedtothelist.(InheritedfromBindingListMSHelpKeyword.)

ListChanged Occurswhenthelistoraniteminthelistchanges.(InheritedfromBindingListMSHelpKeyword.)

Top

SeeAlsoReferenceMSHelpKeywordCollectionClassSandcastleBuilder.UtilsNamespace

Copyright©2008-2015,EricWoodruff,Allrightsreserved

SendcommentsonthistopictoEric@EWoodruff.us

top related