blob: 983300eff465d803d2d7ba923adf4d8152872fed [file] [log] [blame]
<html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><link rel="shortcut icon" href="../icons/favicon.ico" /><link rel="stylesheet" type="text/css" href="../styles/branding.css" /><link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"> </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>MqttMsgPubcomp.GetBytes Method </title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="GetBytes method" /><meta name="System.Keywords" content="MqttMsgPubcomp.GetBytes method" /><meta name="Microsoft.Help.F1" content="uPLibrary.Networking.M2Mqtt.Messages.MqttMsgPubcomp.GetBytes" /><meta name="Microsoft.Help.Id" content="M:uPLibrary.Networking.M2Mqtt.Messages.MqttMsgPubcomp.GetBytes(System.Byte)" /><meta name="Description" content="summaryM:uPLibrary.Networking.M2Mqtt.Messages.MqttMsgPubcomp.GetBytes(System.Byte)" /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="uPLibrary.Networking.M2Mqtt.Messages" /><meta name="file" content="4af22e68-553d-ab89-6d34-c2d15cb2738f" /><meta name="guid" content="4af22e68-553d-ab89-6d34-c2d15cb2738f" /><link rel="stylesheet" type="text/css" href="../styles/branding-Website.css" /><script type="text/javascript" src="../scripts/jquery-1.11.0.min.js"></script><script type="text/javascript" src="../scripts/branding-Website.js"></script></head><body onload="OnLoad('cs')"><input type="hidden" id="userDataCache" class="userDataStyle" /><div class="pageHeader" id="PageHeader">A Sandcastle Documented Class Library<form id="SearchForm" method="get" action="#" onsubmit="javascript:TransferToSearchPage(); return false;"><input id="SearchTextBox" type="text" maxlength="200" /><button id="SearchButton" type="submit"></button></form></div><div class="pageBody"><div class="leftNav" id="leftNav"><div id="tocNav"><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="4158a883-de72-1ec4-2209-632a86aebd74.htm" title="A Sandcastle Documented Class Library" tocid="roottoc">A Sandcastle Documented Class Library</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="311542f9-0333-9080-9217-f386962efb4a.htm" title="uPLibrary.Networking.M2Mqtt.Messages" tocid="311542f9-0333-9080-9217-f386962efb4a">uPLibrary.Networking.M2Mqtt.Messages</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="eeaa2484-186e-dd2a-6741-b5ddc890026a.htm" title="MqttMsgPubcomp Class" tocid="eeaa2484-186e-dd2a-6741-b5ddc890026a">MqttMsgPubcomp Class</a></div><div class="toclevel1" data-toclevel="1" data-childrenloaded="true"><a class="tocExpanded" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="2d6d00e1-0ef2-a33e-7cc7-f881c29fda3e.htm" title="MqttMsgPubcomp Methods" tocid="2d6d00e1-0ef2-a33e-7cc7-f881c29fda3e">MqttMsgPubcomp Methods</a></div><div class="toclevel2 current" data-toclevel="2"><a data-tochassubtree="false" href="4af22e68-553d-ab89-6d34-c2d15cb2738f.htm" title="GetBytes Method " tocid="4af22e68-553d-ab89-6d34-c2d15cb2738f">GetBytes Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="8bca2992-131c-5c22-69ec-c6c2d3dd1982.htm" title="Parse Method " tocid="8bca2992-131c-5c22-69ec-c6c2d3dd1982">Parse Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="d4bfc6a9-78f5-e17a-29a9-339c8fcd2e2e.htm" title="ToString Method " tocid="d4bfc6a9-78f5-e17a-29a9-339c8fcd2e2e">ToString Method </a></div></div><div id="tocResizableEW" onmousedown="OnMouseDown(event);"></div><div id="TocResize" class="tocResize"><img id="ResizeImageIncrease" src="../icons/TocOpen.gif" onclick="OnIncreaseToc()" alt="Click or drag to resize" title="Click or drag to resize" /><img id="ResizeImageReset" src="../icons/TocClose.gif" style="display:none" onclick="OnResetToc()" alt="Click or drag to resize" title="Click or drag to resize" /></div></div><div class="topicContent" id="TopicContent"><table class="titleTable"><tr><td class="titleColumn">MqttMsgPubcomp<span id="LST96FB4520_0"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST96FB4520_0?cpp=::|nu=.");</script>GetBytes Method </td></tr></table><span class="introStyle"></span><div class="summary"><p style="color: #dc143c; font-size: 8.5pt; font-weight: bold;">[Missing &lt;summary&gt; documentation for "M:uPLibrary.Networking.M2Mqtt.Messages.MqttMsgPubcomp.GetBytes(System.Byte)"]</p></div><p> </p><strong>Namespace:</strong> <a href="311542f9-0333-9080-9217-f386962efb4a.htm">uPLibrary.Networking.M2Mqtt.Messages</a><br /><strong>Assembly:</strong> M2Mqtt.Net (in M2Mqtt.Net.dll) Version: 4.3.0.0 (4.3.0.0)<div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID1RB')" onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)" tabindex="0"><img id="ID1RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Syntax</span></div><div id="ID1RBSection" class="collapsibleSection"><div class="codeSnippetContainer"><div class="codeSnippetContainerTabs"><div id="ID0EDCA_tab1" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','cs','1','4');return false;">C#</a></div><div id="ID0EDCA_tab2" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','vb','2','4');return false;">VB</a></div><div id="ID0EDCA_tab3" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','cpp','3','4');return false;">C++</a></div><div id="ID0EDCA_tab4" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','fs','4','4');return false;">F#</a></div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EDCA_copyCode" href="#" onclick="javascript:CopyToClipboard('ID0EDCA');return false;" title="Copy">Copy</a></div></div><div id="ID0EDCA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="keyword">public</span> <span class="keyword">override</span> <span class="identifier">byte</span>[] <span class="identifier">GetBytes</span>(
<span class="identifier">byte</span> <span class="parameter">protocolVersion</span>
)</pre></div><div id="ID0EDCA_code_Div2" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">Public</span> <span class="keyword">Overrides</span> <span class="keyword">Function</span> <span class="identifier">GetBytes</span> (
<span class="parameter">protocolVersion</span> <span class="keyword">As</span> <span class="identifier">Byte</span>
) <span class="keyword">As</span> <span class="identifier">Byte</span>()</pre></div><div id="ID0EDCA_code_Div3" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">public</span>:
<span class="keyword">virtual</span> <span class="keyword">array</span>&lt;<span class="identifier">unsigned char</span>&gt;^ <span class="identifier">GetBytes</span>(
<span class="identifier">unsigned char</span> <span class="parameter">protocolVersion</span>
) <span class="keyword">override</span></pre></div><div id="ID0EDCA_code_Div4" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">abstract</span> <span class="identifier">GetBytes</span> :
<span class="parameter">protocolVersion</span> : <span class="identifier">byte</span> <span class="keyword">-&gt;</span> <span class="identifier">byte</span>[]
<span class="keyword">override</span> <span class="identifier">GetBytes</span> :
<span class="parameter">protocolVersion</span> : <span class="identifier">byte</span> <span class="keyword">-&gt;</span> <span class="identifier">byte</span>[] </pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">protocolVersion</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/yyb1w04y" target="_blank">System<span id="LST96FB4520_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST96FB4520_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Byte</a><br /><p style="color: #dc143c; font-size: 8.5pt; font-weight: bold;">[Missing &lt;param name="protocolVersion"/&gt; documentation for "M:uPLibrary.Networking.M2Mqtt.Messages.MqttMsgPubcomp.GetBytes(System.Byte)"]</p></dd></dl><h4 class="subHeading">Return Value</h4>Type: <span id="LST96FB4520_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST96FB4520_2?cpp=array&lt;");</script><a href="http://msdn2.microsoft.com/en-us/library/yyb1w04y" target="_blank">Byte</a><span id="LST96FB4520_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST96FB4520_3?cpp=&gt;|vb=()|nu=[]");</script><br /><p style="color: #dc143c; font-size: 8.5pt; font-weight: bold;">[Missing &lt;returns&gt; documentation for "M:uPLibrary.Networking.M2Mqtt.Messages.MqttMsgPubcomp.GetBytes(System.Byte)"]</p></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID2RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="eeaa2484-186e-dd2a-6741-b5ddc890026a.htm">MqttMsgPubcomp Class</a></div><div class="seeAlsoStyle"><a href="311542f9-0333-9080-9217-f386962efb4a.htm">uPLibrary.Networking.M2Mqtt.Messages Namespace</a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>