⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 b659f2b6-c361-c575-c30d-a5159b165308.htm

📁 Phidget21.NET Ebox4300下的一个重要组件
💻 HTM
字号:
<html xmlns:MSHelp="http://msdn.microsoft.com/mshelp"><head><title>open Method (ServerID, password)</title><link rel="stylesheet" type="text/css" href="../styles/presentation.css" /><link rel="stylesheet" type="text/css" href="ms-help://Hx/HxRuntime/HxLink.css" /><script type="text/javascript" src="../scripts/EventUtilities.js"> </script><script type="text/javascript" src="../scripts/StyleUtilities.js"> </script><script type="text/javascript" src="../scripts/SplitScreen.js"> </script><script type="text/javascript" src="../scripts/ElementCollection.js"> </script><script type="text/javascript" src="../scripts/MemberFilter.js"> </script><script type="text/javascript" src="../scripts/CollapsibleSection.js"> </script><script type="text/javascript" src="../scripts/LanguageFilter.js"> </script><script type="text/javascript" src="../scripts/CookieDataStore.js"> </script><meta name="file" content="b659f2b6-c361-c575-c30d-a5159b165308" /><xml xmlns:msxsl="urn:schemas-microsoft-com:xslt"><MSHelp:Attr Name="AssetID" Value="M:Phidgets.Phidget.open(System.String,System.String)" /><MSHelp:Keyword Index="A" Term="M:Phidgets.Phidget.open(System.String,System.String)" /><MSHelp:Keyword Index="A" Term="frlrfPhidgetsPhidgetClassopenTopic" /><MSHelp:Keyword Index="K" Term="open method" /><MSHelp:Keyword Index="K" Term="Phidget.open method" /><MSHelp:Keyword Index="F" Term="open" /><MSHelp:Keyword Index="F" Term="Phidget.open" /><MSHelp:Keyword Index="F" Term="Phidgets.Phidget.open" /><MSHelp:Attr Name="TopicType" Value="apiref" /><MSHelp:Attr Name="TopicType" Value="kbSyntax" /><MSHelp:Attr Name="APIType" Value="Managed" /><MSHelp:Attr Name="APILocation" Value="Phidget21.NET.dll" /><MSHelp:Attr Name="APIName" Value="..open" /><MSHelp:Attr Name="Locale" Value="en-us" /><MSHelp:Attr Name="Abstract" Value="Open this Phidget remotely and securely, using a Server ID, without a serial number." /></xml></head><body><script type="text/javascript">var store = new CookieDataStore('docs');registerEventHandler(window, 'load', function() { var ss = new SplitScreen('control', 'main'); selectLanguage(store.get('lang')); });</script><div id="control"><span class="productTitle">A Sandcastle Documented Class Library</span><br /><span class="topicTitle">open Method (ServerID, password)</span><br /><div id="toolbar"><span id="chickenFeet"><a href="d4648875-d41a-783b-d5f4-638df39ee413.htm">Namespaces</a> ► <a href="9332f00d-a9eb-15d0-fa45-c524653f1513.htm">Phidgets</a> ► <a href="794b3221-4163-1211-c0e6-3055eea3768b.htm">Phidget</a> ► <span class="selflink">open(String, String)</span></span><span id="languageFilter"><select id="languageSelector" onchange="var names = this.value.split(' '); toggleVisibleLanguage(names[1]); lfc.switchLanguage(names[0]); store.set('lang',this.value); store.save();"><option value="CSharp cs">C#</option><option value="VisualBasic vb">Visual Basic</option><option value="ManagedCPlusPlus cpp">Visual C++</option></select></span><script>var sd = getStyleDictionary(); var lfc = new LanguageFilterController();</script></div></div><div id="main"><span style="color: DarkGray"> </span><div class="summary">
            Open this Phidget remotely and securely, using a Server ID, without a serial number.
            </div><div class="section"><div class="sectionTitle" onclick="toggleSection(this.parentNode)"><img src="../icons/collapse_all.gif" /> Declaration Syntax</div><div class="sectionContent"><table class="filter"><tr class="tabs" id="syntaxTabs"><td class="tab" x-lang="CSharp" onclick="st.toggleClass('x-lang','CSharp','activeTab','tab'); sb.toggleStyle('x-lang','CSharp','display','block','none');">C#</td><td class="tab" x-lang="VisualBasic" onclick="st.toggleClass('x-lang','VisualBasic','activeTab','tab'); sb.toggleStyle('x-lang','VisualBasic','display','block','none');">Visual Basic</td><td class="tab" x-lang="ManagedCPlusPlus" onclick="st.toggleClass('x-lang','ManagedCPlusPlus','activeTab','tab'); sb.toggleStyle('x-lang','ManagedCPlusPlus','display','block','none');">Visual C++</td></tr></table><div id="syntaxBlocks"><div class="code" x-lang="CSharp"><pre><span class="keyword">public</span> <span class="keyword">void</span> <span class="identifier">open</span>(
	<a href="http://msdn2.microsoft.com/en-us/s1wwdcbf" target="_blank">string</a> <span class="parameter">ServerID</span>,
	<a href="http://msdn2.microsoft.com/en-us/s1wwdcbf" target="_blank">string</a> <span class="parameter">password</span>
)</pre></div><div class="code" x-lang="VisualBasic"><pre><span class="keyword">Public</span> <span class="keyword">Sub</span> <span class="identifier">open</span> ( _
	<span class="parameter">ServerID</span> <span class="keyword">As</span> <a href="http://msdn2.microsoft.com/en-us/s1wwdcbf" target="_blank">String</a>, _
	<span class="parameter">password</span> <span class="keyword">As</span> <a href="http://msdn2.microsoft.com/en-us/s1wwdcbf" target="_blank">String</a> _
)</pre></div><div class="code" x-lang="ManagedCPlusPlus"><pre><span class="keyword">public</span>:
<span class="keyword">void</span> <span class="identifier">open</span>(
	<a href="http://msdn2.microsoft.com/en-us/s1wwdcbf" target="_blank">String</a>^ <span class="parameter">ServerID</span>, 
	<a href="http://msdn2.microsoft.com/en-us/s1wwdcbf" target="_blank">String</a>^ <span class="parameter">password</span>
)</pre></div></div><script type="text/javascript">
						var st = new ElementCollection('syntaxTabs');
						var sb = new ElementCollection('syntaxBlocks');
						lfc.registerTabbedArea(st, sb);
						st.toggleClass('x-lang','CSharp','activeTab','tab');
						sb.toggleStyle('x-lang','CSharp','display','block','none');
					</script></div></div><div class="section"><div class="sectionTitle" onclick="toggleSection(this.parentNode)"><img src="../icons/collapse_all.gif" /> Parameters</div><div class="sectionContent"><dl><dt><span class="parameter">ServerID</span> (<a href="http://msdn2.microsoft.com/en-us/s1wwdcbf" target="_blank">String</a>)</dt><dd>ServerID of the Phidget Webservice</dd><dt><span class="parameter">password</span> (<a href="http://msdn2.microsoft.com/en-us/s1wwdcbf" target="_blank">String</a>)</dt><dd>The secure password for the Phidget Webservice</dd></dl></div></div><div class="section"><div class="sectionTitle" onclick="toggleSection(this.parentNode)"><img src="../icons/collapse_all.gif" /> Remarks</div><div class="sectionContent">
            This method is the same as open(int serialNumber, string ServerID, String password), except that it specifies no serial number. Therefore, the first available Phidget will be opened. If there are two Phidgets of the same type attached to the system, you should specify a serial number, as there is no guarantee which Phidget will be selected by the call to open().
            </div></div><div class="section"><div class="sectionTitle" onclick="toggleSection(this.parentNode)"><img src="../icons/collapse_all.gif" /> Exceptions</div><div class="sectionContent"><table class="exceptions"><tr><th class="exceptionNameColumn">Exception</th><th class="exceptionConditionColumn">Condition</th></tr><tr><td><a href="8edb365f-379f-1439-651c-18f12eafc13e.htm">PhidgetException</a></td><td>if the Phidget Webservice cannot be contacted<br /></td></tr></table></div></div><p><div id="footer"> </div>Assembly: Phidget21.NET (Module: Phidget21.NET) Version: 2.1.3.23</p></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -