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

📄 204736b1-a202-c871-9681-83703903c215.htm

📁 Phidget21.NET Ebox4300下的一个重要组件
💻 HTM
字号:
<html xmlns:MSHelp="http://msdn.microsoft.com/mshelp"><head><title>Item Property (index)</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="204736b1-a202-c871-9681-83703903c215" /><xml xmlns:msxsl="urn:schemas-microsoft-com:xslt"><MSHelp:Attr Name="AssetID" Value="P:Phidgets.InterfaceKitDigitalOutputCollection.Item(System.Int32)" /><MSHelp:Keyword Index="A" Term="P:Phidgets.InterfaceKitDigitalOutputCollection.Item(System.Int32)" /><MSHelp:Keyword Index="A" Term="frlrfPhidgetsInterfaceKitDigitalOutputCollectionClassItemTopic" /><MSHelp:Keyword Index="K" Term="Item property" /><MSHelp:Keyword Index="K" Term="InterfaceKitDigitalOutputCollection.Item property" /><MSHelp:Keyword Index="F" Term="Item" /><MSHelp:Keyword Index="F" Term="InterfaceKitDigitalOutputCollection.Item" /><MSHelp:Keyword Index="F" Term="Phidgets.InterfaceKitDigitalOutputCollection.Item" /><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="..Item" /><MSHelp:Attr Name="Locale" Value="en-us" /><MSHelp:Attr Name="Abstract" Value="The digital output indexer list. This gets or sets the state of a digital output at the supplied index in the list." /></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">Item Property (index)</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="29835da6-9556-b369-d0dc-6ac1b994a147.htm">InterfaceKitDigitalOutputCollection</a> ► <span class="selflink">Item<span class="languageSpecificText"><span class="cs">[</span><span class="vb">(</span><span class="cpp">[</span><span class="nu">(</span></span>Int32<span class="languageSpecificText"><span class="cs">]</span><span class="vb">)</span><span class="cpp">]</span><span class="nu">)</span></span></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">
            The digital output indexer list. This gets or sets the state of a digital output at the supplied index in the list.
            </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> <a href="http://msdn2.microsoft.com/en-us/a28wyd50" target="_blank">bool</a> <span class="keyword">this</span>[
	<a href="http://msdn2.microsoft.com/en-us/td2s409d" target="_blank">int</a> <span class="parameter">index</span>
] { <span class="keyword">get</span>; <span class="keyword">set</span>; }</pre></div><div class="code" x-lang="VisualBasic"><pre><span class="keyword">Public</span> <span class="keyword">Default</span> <span class="keyword">Property</span> <span class="identifier">Item</span> ( _
	<span class="parameter">index</span> <span class="keyword">As</span> <a href="http://msdn2.microsoft.com/en-us/td2s409d" target="_blank">Integer</a> _
) <span class="keyword">As</span> <a href="http://msdn2.microsoft.com/en-us/a28wyd50" target="_blank">Boolean</a></pre></div><div class="code" x-lang="ManagedCPlusPlus"><pre><span class="keyword">public</span>:
<span class="keyword">property</span> <a href="http://msdn2.microsoft.com/en-us/a28wyd50" target="_blank">bool</a> <span class="keyword">default</span>[<a href="http://msdn2.microsoft.com/en-us/td2s409d" target="_blank">int</a> <span class="parameter">index</span>] {
	<a href="http://msdn2.microsoft.com/en-us/a28wyd50" target="_blank">bool</a> <span class="keyword">get</span> (<a href="http://msdn2.microsoft.com/en-us/td2s409d" target="_blank">int</a> <span class="parameter">index</span>);
	<span class="keyword">void</span> <span class="keyword">set</span> (<a href="http://msdn2.microsoft.com/en-us/td2s409d" target="_blank">int</a> <span class="parameter">index</span>, <a href="http://msdn2.microsoft.com/en-us/a28wyd50" target="_blank">bool</a> <span class="parameter">value</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">index</span> (<a href="http://msdn2.microsoft.com/en-us/td2s409d" target="_blank">Int32</a>)</dt><dd>Index of the output.</dd></dl></div></div><div class="section"><div class="sectionTitle" onclick="toggleSection(this.parentNode)"><img src="../icons/collapse_all.gif" /> Value</div><div class="sectionContent">State of the output.</div></div><div class="section"><div class="sectionTitle" onclick="toggleSection(this.parentNode)"><img src="../icons/collapse_all.gif" /> Return Value</div><div class="sectionContent">State of the output.</div></div><div class="section"><div class="sectionTitle" onclick="toggleSection(this.parentNode)"><img src="../icons/collapse_all.gif" /> Remarks</div><div class="sectionContent">
            Depending on the Phidget, this value may be either the value that you last wrote out to the Phidget, or the value that the Phidget last returned. This is because some Phidgets return their output state and others do not. This means that with some devices, reading the output state of a pin directly after setting it, may not return the value that you just set.
            </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 this Phidget is not opened and attached, or if the index is out of range.<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 + -