Skip to content

Commit

Permalink
Commit translated content
Browse files Browse the repository at this point in the history
  • Loading branch information
olprod committed Apr 27, 2018
1 parent 1d46c8c commit 1f26931
Show file tree
Hide file tree
Showing 209 changed files with 2,031 additions and 14 deletions.
4 changes: 2 additions & 2 deletions docs/visual-basic/misc/bc30954.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 'メソッド & #39; に対して推定された型引数<procedurename>& #39; 結果、次のエラー:<errorlist>'
title: メソッド ' に対して推定された型引数<procedurename>' 結果、次のエラー:<errorlist>
ms.date: 07/20/2015
ms.prod: .net
ms.technology:
Expand All @@ -20,7 +20,7 @@ ms.translationtype: MT
ms.contentlocale: ja-JP
ms.lasthandoff: 11/21/2017
---
# <a name="type-arguments-inferred-for-method-39ltprocedurenamegt39-result-in-the-following-errors-lterrorlistgt"></a>メソッド & #39; に対して推定された型引数&lt;procedurename&gt;& #39; 結果、次のエラー:&lt;errorlist&gt;
# <a name="type-arguments-inferred-for-method-39ltprocedurenamegt39-result-in-the-following-errors-lterrorlistgt"></a>メソッド &#39; に対して推定された型引数&lt;procedurename&gt;&#39; 結果、次のエラー:&lt;errorlist&gt;
ジェネリック プロシージャが型引数を指定せずに呼び出され、推定された型引数は 1 つ以上の制約違反となります。

通常、ジェネリック型を呼び出す場合は、ジェネリック型が定義する型パラメーターごとに型引数を指定します。 型引数を指定しない場合、コンパイラは型パラメーターに渡される型を推定しようとします。 推定された型が 1 つ以上の型パラメーターの制約を満たすことができない場合、コンパイラはこのエラーを生成します。
Expand Down
4 changes: 2 additions & 2 deletions docs/visual-basic/misc/bc31511.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: '属性メンバー & #39;&lt;membername&gt;& #39; 宣言されていないため、代入式のターゲットにすることはできません (& a) #39 です。パブリック & #39;'
title: 属性メンバー &#39;&lt;membername&gt;&#39; 宣言されていないため、代入式のターゲットにすることはできません &#39; です。パブリック &#39;
ms.date: 07/20/2015
ms.prod: .net
ms.technology:
Expand All @@ -20,7 +20,7 @@ ms.translationtype: MT
ms.contentlocale: ja-JP
ms.lasthandoff: 11/21/2017
---
# <a name="attribute-member-39ltmembernamegt39-cannot-be-the-target-of-an-assignment-because-it-is-not-declared-39public39"></a>属性メンバー & #39;&lt;membername&gt;& #39; 宣言されていないため、代入式のターゲットにすることはできません (& a) #39 です。パブリック & #39;
# <a name="attribute-member-39ltmembernamegt39-cannot-be-the-target-of-an-assignment-because-it-is-not-declared-39public39"></a>属性メンバー &#39;&lt;membername&gt;&#39; 宣言されていないため、代入式のターゲットにすることはできません &#39; です。パブリック &#39;
属性のプライベート メンバーに値を代入しようとしました。

**エラー ID:** BC31511
Expand Down
4 changes: 2 additions & 2 deletions docs/visual-basic/misc/bc32040.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: '(& A) #39 です。&lt;キーワード&gt;& #39; 継承のオーバー ロード メンバーにキーワードが使用する以外の場合は使用しないでください、& #39;&lt;キーワード&gt;& #39 以外の場合はオーバー ロードするときに & #39;新しいサブ & #39;'
title: '&#39; です。&lt;キーワード&gt;&#39; 継承のオーバー ロード メンバーにキーワードが使用する以外の場合は使用しないでください、&#39;&lt;キーワード&gt;&#39; 以外の場合はオーバー ロードするときに &#39;新しいサブ &#39;'
ms.date: 07/20/2015
ms.prod: .net
ms.technology:
Expand All @@ -20,7 +20,7 @@ ms.translationtype: MT
ms.contentlocale: ja-JP
ms.lasthandoff: 11/21/2017
---
# <a name="the-39ltkeywordgt39-keyword-is-used-to-overload-inherited-members-do-not-use-the-39ltkeywordgt39-keyword-when-overloading-39sub-new39"></a>(& A) #39 です。&lt;キーワード&gt;& #39; 継承のオーバー ロード メンバーにキーワードが使用する以外の場合は使用しないでください、& #39;&lt;キーワード&gt;& #39 以外の場合はオーバー ロードするときに & #39;新しいサブ & #39;
# <a name="the-39ltkeywordgt39-keyword-is-used-to-overload-inherited-members-do-not-use-the-39ltkeywordgt39-keyword-when-overloading-39sub-new39"></a>&#39; です。&lt;キーワード&gt;&#39; 継承のオーバー ロード メンバーにキーワードが使用する以外の場合は使用しないでください、&#39;&lt;キーワード&gt;&#39; 以外の場合はオーバー ロードするときに &#39;新しいサブ &#39;
コンストラクターが `Overloads` キーワードを使用して宣言されています。

Visual Basic は、コンストラクターの継承またはオーバーロードをサポートしていません。
Expand Down
4 changes: 2 additions & 2 deletions docs/visual-basic/misc/bc33014.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: '演算子 & #39;&lt;演算子&gt;& #39; 1 つのパラメーターがあります。'
title: 演算子 &#39;&lt;演算子&gt;&#39; 1 つのパラメーターがあります。
ms.date: 07/20/2015
ms.prod: .net
ms.technology:
Expand All @@ -20,7 +20,7 @@ ms.translationtype: MT
ms.contentlocale: ja-JP
ms.lasthandoff: 11/21/2017
---
# <a name="operator-39ltoperatorgt39-must-have-one-parameter"></a>演算子 & #39;&lt;演算子&gt;& #39; 1 つのパラメーターがあります。
# <a name="operator-39ltoperatorgt39-must-have-one-parameter"></a>演算子 &#39;&lt;演算子&gt;&#39; 1 つのパラメーターがあります。
単項演算子がパラメーターなしで定義されているか、2 つ以上のパラメーターを使用して定義されています。

単項演算子には、必ず 1 つのパラメーターを指定する必要があります。
Expand Down
4 changes: 2 additions & 2 deletions docs/visual-basic/misc/bc36557.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: '& #39 です。&lt;membername&gt;& #39; メンバー & #39; にない&lt;contextname&gt;& #39; が、現在のコンテキストに存在しません'
title: '&#39 です。&lt;membername&gt;&#39; メンバー &#39; にない&lt;contextname&gt;&#39; が、現在のコンテキストに存在しません'
ms.date: 07/20/2015
ms.prod: .net
ms.technology:
Expand All @@ -20,7 +20,7 @@ ms.translationtype: MT
ms.contentlocale: ja-JP
ms.lasthandoff: 11/21/2017
---
# <a name="39ltmembernamegt39-is-not-a-member-of-39ltcontextnamegt39-it-does-not-exist-in-the-current-context"></a>& #39 です。&lt;membername&gt;& #39; メンバー & #39; にない&lt;contextname&gt;& #39; が、現在のコンテキストに存在しません
# <a name="39ltmembernamegt39-is-not-a-member-of-39ltcontextnamegt39-it-does-not-exist-in-the-current-context"></a>&#39 です。&lt;membername&gt;&#39; メンバー &#39; にない&lt;contextname&gt;&#39; が、現在のコンテキストに存在しません
匿名型の宣言で、存在しないメンバーの名前がプロパティに割り当てられています。 次の例では、 `.Prop1``.Prop2` が匿名型のプロパティです。 `.Prop3``.Prop2` に割り当てようとすると、エラーが発生します。

```vb
Expand Down
4 changes: 2 additions & 2 deletions docs/visual-basic/misc/bc36561.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: '拡張メソッド & #39;&lt;methodname&gt;& #39; 満たされることのない型制約があります'
title: 拡張メソッド &#39;&lt;methodname&gt;&#39; 満たされることのない型制約があります
ms.date: 07/20/2015
ms.prod: .net
ms.technology:
Expand All @@ -20,7 +20,7 @@ ms.translationtype: MT
ms.contentlocale: ja-JP
ms.lasthandoff: 11/21/2017
---
# <a name="extension-method-39ltmethodnamegt39-has-type-constraints-that-can-never-be-satisfied"></a>拡張メソッド & #39;&lt;methodname&gt;& #39; 満たされることのない型制約があります
# <a name="extension-method-39ltmethodnamegt39-has-type-constraints-that-can-never-be-satisfied"></a>拡張メソッド &#39;&lt;methodname&gt;&#39; 満たされることのない型制約があります
このメソッドの型パラメーターは、満たされることが妨げられる仕方で相互作用します。 次の拡張メソッドは、例を示します。

```
Expand Down
1 change: 1 addition & 0 deletions includes/backslash-mutex.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
円記号 (\\) は、ミューテックス名の予約文字です。 ターミナル サーバー セッションのミューテックス使用に関する注記に指定されていない限り、ミューテックス名に円記号 (\\) を使用しないでください。 使用した場合、ミューテックスの名前が既存のファイルを表すとしても、<xref:System.IO.DirectoryNotFoundException> がスローされることがあります。
2 changes: 1 addition & 1 deletion includes/compiler-options.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

すべてのコンパイル オプションは、**-option** および **/option** という 2 つの形で使用できます。 ドキュメントのみが表示オプション形式です
すべてのコンパイル オプションは、**-option** および **/option** という 2 つの形で使用できます。 このドキュメントでは、-option のみを示しています
2 changes: 2 additions & 0 deletions includes/core-preview-warning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
> [!WARNING]
> このトピックは .NET Core SDK 2.0 Preview 2 を対象としています。
3 changes: 3 additions & 0 deletions includes/csharp-interactive-note.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

> [!NOTE]
> この記事の C# 例は、[Try.NET](https://try.dot.net) インライン コード ランナーとプレイグラウンドで実行されます。 **[実行]** ボタンを選択すると、対話型ウィンドウで例が実行されます。 コードを実行したら、コードを変更し、**[実行]** をもう一度選択して変更後のコードを実行できます。 変更後のコードが対話型ウィンドウで実行されるか、コンパイルできなかった場合、対話型ウィンドウにすべての C# コンパイラ エラー メッセージが表示されます。
4 changes: 4 additions & 0 deletions includes/dotnet-restore-note-options.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
> [!NOTE]
> .NET Core 2.0 以降、[`dotnet restore`](~/docs/core/tools/dotnet-restore.md) を実行する必要がなくなりました。`dotnet build``dotnet run` のような、復元を必要とするあらゆるコマンドによって暗黙的に実行されるためです。 [Visual Studio Team Services の継続的インテグレーション ビルド](/vsts/build-release/apps/aspnet/build-aspnet-core)など、明示的な復元が合理的となる一部のシナリオや、復元の時刻を明示的に制御する必要があるビルド システムでは、引き続き有効なコマンドとなります。
>
> このコマンドには `dotnet restore` オプションを指定できますが、`--source` のように長い形式で指定する必要があります。 `-s` のような短い形式のオプションはサポートされていません。
1 change: 1 addition & 0 deletions includes/immutable-nuget-short-md.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**NuGet パッケージ**: [System.Collections.Immutable](http://go.microsoft.com/fwlink/?LinkId=318047) ([変更できないコレクションの概要とインストール方法](/dotnet/api/system.collections.immutable#Remarks))
3 changes: 3 additions & 0 deletions includes/interpolated-strings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

> [!IMPORTANT]
> **String.Format** メソッドを呼び出す、あるいは[複合書式指定文字列](~/docs/standard/base-types/composite-formatting.md)を使用する代わりに、お使いの言語でサポートされている場合、*挿入文字列*を使用できます。 挿入文字列は、*挿入式*が含まれている文字列です。 各挿入式は式の値によって解かれ、文字列が割り当てられるとき、結果文字列に含まれます。 詳細については、[文字列補間 (C# リファレンス)](~/docs/csharp/language-reference/tokens/interpolated.md) および[補間文字列 (Visual Basic リファレンス)](~/docs/visual-basic/programming-guide/language-features/strings/interpolated-strings.md) に関するページを参照してください。
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### <a name="dbparameterprecision-and-dbparameterscale-are-now-public-virtual-members"></a>DbParameter.Precision と DbParameter.Scale は、パブリック仮想メンバーになった

| | |
|---|---|
|説明|<xref:System.Data.Common.DbParameter.Precision> および <xref:System.Data.Common.DbParameter.Scale> はパブリック仮想プロパティとして実装されます。 これらは、対応する明示的なインターフェイス実装、<xref:System.Data.Common.DbParameter.System%23Data%23IDbDataParameter%23Precision><xref:System.Data.Common.DbParameter.System%23Data%23IDbDataParameter%23Scale> を置き換えます。|
|提案される解決策|ADO.NET データベース プロバイダーを再構築するとき、これらの違いにより、「override」キーワードが Precision および Scale プロパティに適用される必要があります。 これは、コンポーネントを再構築するときにのみ必要です。既存のバイナリは引き続き機能します。|
|スコープ|マイナー|
|Version|4.5.1|
||再ターゲット中|
|影響を受ける API|<ul><li><xref:System.Data.Common.DbParameter.Precision?displayProperty=nameWithType></li><li><xref:System.Data.Common.DbParameter.Scale?displayProperty=nameWithType></li></ul>|

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
### <a name="aspnet-accessibility-improvements-in-net-471"></a>.NET 4.7.1 の ASP.NET アクセシビリティ機能の強化

| | |
|---|---|
|説明|.NET Framework 4.7.1 以降、ASP.NET のお客様のサポートを改善する目的で、ASP.NET Web コントロールによる Visual Studio のアクセシビリティ テクノロジの処理方法が向上しています。 この機能強化には次の変更内容が含まれています。<ul><li>[詳細の表示] ウィザードの [フィールドの追加] ダイアログや ListView ウィザードの [ListView の構成] ダイアログなど、コントロールで不足していた UI アクセシビリティ パターンを実装するための変更。</li><li>データ ページャー フィールド エディターなど、ハイ コントラスト モードでの表示を改善するための変更。</li><li>DataPager コントロールの [ページャーのフィールドを編集] ウィザードの [フィールド] ダイアログ、[ObjectContext の構成] ダイアログ、[データ ソースの構成] ウィザードの [Configure Data Selction]\(データの選択の構成\) ダイアログなど、キーボードの操作性を改善するための変更。</li></ul>|
|提案される解決策|<strong>以上の変更を選択する方法と選択しない方法</strong>Visual Studio デザイナーの場合、.NET Framework 4.7.1 以降で実行しなければ、以上の変更から何の改善も得られません。 Web アプリケーションの場合、次のいずれかの手法をとることで、以上の変更によって機能が強化されます。<ul><li>Visual Studio 2017 15.3 以降をインストールする。このバージョンからは既定で、次の項目にある AppContext スイッチで新しいアクセシビリティ機能に対応しています。</li><li>下の例のように、devenv.exe.config ファイルの <code>&lt;runtime&gt;</code> セクションに <code>Switch.UseLegacyAccessibilityFeatures</code> AppContext スイッチを追加し、それを <code>false</code> に設定することで、以前のアクセシビリティ動作を無効にする。</li></ul><pre><code class="language-xml">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;&#13;&#10;&lt;configuration&gt;&#13;&#10;&lt;runtime&gt;&#13;&#10;...&#13;&#10;&lt;!-- AppContextSwitchOverrides value attribute is in the form of &#39;key1=true/false;key2=true/false&#39; --&gt;&#13;&#10;&lt;AppContextSwitchOverrides value=&quot;...;Switch.UseLegacyAccessibilityFeatures=false&quot; /&gt;&#13;&#10;...&#13;&#10;&lt;/runtime&gt;&#13;&#10;&lt;/configuration&gt;&#13;&#10;</code></pre>.NET Framework 4.7.1 以降を対象とするアプリケーションで以前のアクセシビリティ動作を残す場合、この AppContext スイッチを明示的に <code>true</code> に設定することで以前のアクセシビリティ機能を選択できます。|
|スコープ|マイナー|
|Version|4.7.1|
||再ターゲット中|

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### <a name="htmltextwriter-does-not-render-br-element-correctly"></a>HtmlTextWriter で `<br/>` 要素が正しく表示されない

| | |
|---|---|
|説明|.NET Framework 4.6 以降では、<xref:System.Web.UI.HtmlTextWriter.RenderBeginTag(System.String)><xref:System.Web.UI.HtmlTextWriter.RenderEndTag> を <code>&lt;BR /&gt;</code> 要素を指定して呼び出すと、<code>&lt;BR /&gt;</code> を 1 つだけ (2 つではなく) 正しく挿入します。|
|提案される解決策|アプリが余分な <code>&lt;BR /&gt;</code> タグに依存している場合は、<xref:System.Web.UI.HtmlTextWriter.RenderBeginTag(System.String)> をもう一度呼び出す必要があります。 この動作の変更は、.NET Framework 4.6 以降を対象とするアプリにのみ影響するので、以前の動作を得るためには、以前のバージョンの .NET Framework を対象とするという方法もあります。|
|スコープ|エッジ|
|Version|4.6|
||再ターゲット中|
|影響を受ける API|<ul><li><xref:System.Web.UI.HtmlTextWriter.RenderBeginTag(System.String)?displayProperty=nameWithType></li><li><xref:System.Web.UI.HtmlTextWriter.RenderBeginTag(System.Web.UI.HtmlTextWriterTag)?displayProperty=nameWithType></li></ul>|

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### <a name="httpruntimeappdomainapppath-throws-a-nullreferenceexception"></a>HttpRuntime.AppDomainAppPath で NullReferenceException がスローされる

| | |
|---|---|
|説明|ランタイムによってスローされる、.NET Framework 4.6.2、<code>T:System.NullReferenceException</code>取得するときに、 <code>P:System.Web.HttpRuntime.AppDomainAppPath</code> null 文字を含む値です。 .NET Framework 4.6.1 と以前のバージョンでは、ランタイムによってスローされる、<code>T:System.ArgumentNullException</code>です。|
|提案される解決策|次のいずれかでこの変更に対応できます。<ul><li>アプリケーションが .NET Framework 4.6.2 で実行されている場合には <code>T:System.NullReferenceException</code> を処理します。</li><li>.NET Framework 4.7 にアップグレードします。以前の動作が復元され、<code>T:System.ArgumentNullException</code> がスローされます。</li></ul>|
|スコープ|エッジ|
|Version|4.6.2|
||再ターゲット中|
|影響を受ける API|<ul><li><xref:System.Web.HttpRuntime.AppDomainAppPath?displayProperty=nameWithType></li></ul>|

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### <a name="machinekeyencode-and-machinekeydecode-methods-are-now-obsolete"></a>MachineKey.Encode メソッドと MachineKey.Decode メソッドが廃止に

| | |
|---|---|
|説明|これらのメソッドは今後使用しません。 これらのメソッドを呼び出すコードをコンパイルすると、コンパイラ警告が生成されます。|
|提案される解決策|別の方法として、<xref:System.Web.Security.MachineKey.Protect(System.Byte[],System.String[])> および <xref:System.Web.Security.MachineKey.Unprotect(System.Byte[],System.String[])> を使用することをお勧めします。 または、ビルド警告を抑制するか、古いコンパイラを使用して警告を回避できます。 API は、まだサポートされています。|
|スコープ|マイナー|
|Version|4.5|
||再ターゲット中|
|影響を受ける API|<ul><li><xref:System.Web.Security.MachineKey.Encode(System.Byte[],System.Web.Security.MachineKeyProtection)?displayProperty=nameWithType></li><li><xref:System.Web.Security.MachineKey.Decode(System.String,System.Web.Security.MachineKeyProtection)?displayProperty=nameWithType></li></ul>|

Loading

0 comments on commit 1f26931

Please sign in to comment.