<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>サンプルコードで学ぶASP &#187; Errorsコレクション</title>
	<atom:link href="http://asp.verygoodtown.com/category/reference/ado/errors-collection/feed" rel="self" type="application/rss+xml" />
	<link>http://asp.verygoodtown.com</link>
	<description>レガシーなASPの使い方をコード付きで紹介します。</description>
	<lastBuildDate>Tue, 13 Apr 2010 02:25:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Count</title>
		<link>http://asp.verygoodtown.com/2009/08/count-3</link>
		<comments>http://asp.verygoodtown.com/2009/08/count-3#comments</comments>
		<pubDate>Wed, 12 Aug 2009 09:27:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Errorsコレクション]]></category>

		<guid isPermaLink="false">http://asp.verygoodtown.com/?p=512</guid>
		<description><![CDATA[(PWS4 IIS4 IIS5)
Count &#8212; Errors コレクションからすべての Error オブジェクトを削除します。
構文
Errors.Count


パラメータ
Errors コレクションを指定します。 


戻り値
エラーの内容を表す文字列型 (String) を返します。
説明
Errors コレクションで Count メソッドを使って、既存の Error オブジェクトをすべて削除します。エラーが発生すると、Errors コレクションは自動的にクリアされ、新しく発生したエラーによる Error オブジェクトが格納されます。
プロパティとメソッドの中には、Errors コレクションの Error オブジェクトとして警告を返しても、プログラムの実行を停止しないものがあります。Recordset オブジェクトで Resync メソッド、UpdateBatch メソッド、または CancelBatch メソッドを呼び出す前、Connection オブジェクトで Open メソッドを呼び出す前、または Recordset オブジェクトで Filter プロパティを設定する前には、Errors コレクションで Count メソッドを呼び出してください。これらにより Errors コレクションの Count プロパティを読み込み、返された警告があるかどうかを調べることができます。
]]></description>
			<content:encoded><![CDATA[<p>(PWS4 IIS4 IIS5)<br />
Count &#8212; Errors コレクションからすべての Error オブジェクトを削除します。</p>
<h3>構文</h3>
<p>Errors.<strong>Count</strong></p>
<table class="table_list">
<tr>
<th>パラメータ</th>
<td>Errors コレクションを指定します。 </td>
</tr>
</table>
<h3>戻り値</h3>
<p>エラーの内容を表す文字列型 (String) を返します。</p>
<h3>説明</h3>
<p>Errors コレクションで Count メソッドを使って、既存の Error オブジェクトをすべて削除します。エラーが発生すると、Errors コレクションは自動的にクリアされ、新しく発生したエラーによる Error オブジェクトが格納されます。</p>
<p>プロパティとメソッドの中には、Errors コレクションの Error オブジェクトとして警告を返しても、プログラムの実行を停止しないものがあります。Recordset オブジェクトで Resync メソッド、UpdateBatch メソッド、または CancelBatch メソッドを呼び出す前、Connection オブジェクトで Open メソッドを呼び出す前、または Recordset オブジェクトで Filter プロパティを設定する前には、Errors コレクションで Count メソッドを呼び出してください。これらにより Errors コレクションの Count プロパティを読み込み、返された警告があるかどうかを調べることができます。</p>
]]></content:encoded>
			<wfw:commentRss>http://asp.verygoodtown.com/2009/08/count-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Item</title>
		<link>http://asp.verygoodtown.com/2009/08/item-2</link>
		<comments>http://asp.verygoodtown.com/2009/08/item-2#comments</comments>
		<pubDate>Wed, 12 Aug 2009 09:23:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Errorsコレクション]]></category>

		<guid isPermaLink="false">http://asp.verygoodtown.com/?p=508</guid>
		<description><![CDATA[(PWS4 IIS4 IIS5)
Item &#8212; コレクションの特定のメンバをその名前またはインデックスで示します。
構文
Set object = collection.Item ( Index )
パラメータ


Index
コレクション内のオブジェクト名またはインデックスと評価されるバリアント型 (Variant) の値を指定します。


戻り値
オブジェクトへの参照を返します。
説明
コレクション内の特定のオブジェクトを返すには、Item プロパティを使います。コレクション内で Item が Index 引数に対応するオブジェクトを見つけられない場合、エラーが発生します。また、コレクションの中には名前付きオブジェクトをサポートしていないものもあります。このようなコレクションでは、その序数参照を使う必要があります。
Item プロパティはすべてのコレクションの既定プロパティなので、次のいずれの構文形式でも同じ結果が得られます。
例
12collection.Item (Index)
collection (Index)
]]></description>
			<content:encoded><![CDATA[<p>(PWS4 IIS4 IIS5)<br />
Item &#8212; コレクションの特定のメンバをその名前またはインデックスで示します。</p>
<h3>構文</h3>
<p>Set object =<strong> collection.Item</strong> ( Index )</p>
<h3>パラメータ</h3>
<table class="table_list">
<tr>
<th>Index</th>
<td>コレクション内のオブジェクト名またはインデックスと評価されるバリアント型 (Variant) の値を指定します。</td>
</tr>
</table>
<h3>戻り値</h3>
<p>オブジェクトへの参照を返します。</p>
<h3>説明</h3>
<p>コレクション内の特定のオブジェクトを返すには、Item プロパティを使います。コレクション内で Item が Index 引数に対応するオブジェクトを見つけられない場合、エラーが発生します。また、コレクションの中には名前付きオブジェクトをサポートしていないものもあります。このようなコレクションでは、その序数参照を使う必要があります。</p>
<p>Item プロパティはすべてのコレクションの既定プロパティなので、次のいずれの構文形式でも同じ結果が得られます。</p>
<h3>例</h3>
<div class="codecolorer-container vb default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="vb codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000080;">collection</span>.Item (Index)<br />
<span style="color: #000080;">collection</span> (Index)</div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://asp.verygoodtown.com/2009/08/item-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clear</title>
		<link>http://asp.verygoodtown.com/2009/08/clear-2</link>
		<comments>http://asp.verygoodtown.com/2009/08/clear-2#comments</comments>
		<pubDate>Wed, 12 Aug 2009 09:01:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Errorsコレクション]]></category>

		<guid isPermaLink="false">http://asp.verygoodtown.com/?p=506</guid>
		<description><![CDATA[(PWS4 IIS4 IIS5)
Clear &#8212; Errors コレクションからすべての Error オブジェクトを削除します。
構文
Errors.Clear
パラメータ


Errors
Errors コレクションを指定します。


戻り値
エラーの内容を表す文字列型 (String) を返します。
説明
Errors コレクションで Clear メソッドを使って、既存の Error オブジェクトをすべて削除します。エラーが発生すると、Errors コレクションは自動的にクリアされ、新しく発生したエラーによる Error オブジェクトが格納されます。
プロパティとメソッドの中には、Errors コレクションの Error オブジェクトとして警告を返しても、プログラムの実行を停止しないものがあります。Recordset オブジェクトで Resync メソッド、UpdateBatch メソッド、または CancelBatch メソッドを呼び出す前、Connection オブジェクトで Open メソッドを呼び出す前、または Recordset オブジェクトで Filter プロパティを設定する前には、Errors コレクションで Clear メソッドを呼び出してください。これらにより Errors コレクションの Count プロパティを読み込み、返された警告があるかどうかを調べることができます。
]]></description>
			<content:encoded><![CDATA[<p>(PWS4 IIS4 IIS5)<br />
Clear &#8212; Errors コレクションからすべての Error オブジェクトを削除します。</p>
<h3>構文</h3>
<p>Errors.<strong>Clear</strong></p>
<h3>パラメータ</h3>
<table class="table_list">
<tr>
<th>Errors</th>
<td>Errors コレクションを指定します。</td>
</tr>
</table>
<h3>戻り値</h3>
<p>エラーの内容を表す文字列型 (String) を返します。</p>
<h3>説明</h3>
<p>Errors コレクションで Clear メソッドを使って、既存の Error オブジェクトをすべて削除します。エラーが発生すると、Errors コレクションは自動的にクリアされ、新しく発生したエラーによる Error オブジェクトが格納されます。</p>
<p>プロパティとメソッドの中には、Errors コレクションの Error オブジェクトとして警告を返しても、プログラムの実行を停止しないものがあります。Recordset オブジェクトで Resync メソッド、UpdateBatch メソッド、または CancelBatch メソッドを呼び出す前、Connection オブジェクトで Open メソッドを呼び出す前、または Recordset オブジェクトで Filter プロパティを設定する前には、Errors コレクションで Clear メソッドを呼び出してください。これらにより Errors コレクションの Count プロパティを読み込み、返された警告があるかどうかを調べることができます。</p>
]]></content:encoded>
			<wfw:commentRss>http://asp.verygoodtown.com/2009/08/clear-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

