update 20240812
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="GENERATOR" content="VSdocman - documentation generator; https://www.helixoft.com" />
|
||||
<link rel="icon" href="favicon.ico">
|
||||
<title>ObjectGenerator.GenerateObject Method</title>
|
||||
<title>HelpPageSampleKey(MediaTypeHeaderValue) Constructor</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="msdn2019/toc.css" />
|
||||
<script src="msdn2019/toc.js"></script>
|
||||
@@ -74,11 +74,11 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
</div>
|
||||
|
||||
<div id="mainBody">
|
||||
<h1 class="title">ObjectGenerator.GenerateObject Method</h1>
|
||||
<h1 class="title">HelpPageSampleKey(MediaTypeHeaderValue) Constructor</h1>
|
||||
|
||||
<div class="metadata">
|
||||
Namespace:
|
||||
<a href="topic_000000000000033B.html">API_NetFramework.Areas.HelpPage</a>
|
||||
<a href="topic_0000000000000354.html">API_NetFramework.Areas.HelpPage</a>
|
||||
|
||||
|
||||
|
||||
@@ -89,16 +89,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
|
||||
|
||||
|
||||
<summary-info>Generates an object for a given type. The type needs to be public, have a public default constructor and settable public properties/fields. Currently it supports the following types:
|
||||
Simple types: <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.int32">int</a>, <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a>, <a target="_top" href=".html" onclick="this.target='';return true;">Enum</a>, <a target="_top" href=".html" onclick="this.target='';return true;">DateTime</a>, <a target="_top" href=".html" onclick="this.target='';return true;">Uri</a>, etc.
|
||||
Complex types: POCO types.
|
||||
Nullables: <a target="_top" href=".html" onclick="this.target='';return true;">Nullable<T></a>.
|
||||
Arrays: arrays of simple types or complex types.
|
||||
Key value pairs: <a target="_top" href=".html" onclick="this.target='';return true;">KeyValuePair<TKey,TValue></a>
|
||||
Tuples: <a target="_top" href=".html" onclick="this.target='';return true;">Tuple<T1></a>, <a target="_top" href=".html" onclick="this.target='';return true;">Tuple<T1,T2></a>, etc
|
||||
Dictionaries: <a target="_top" href=".html" onclick="this.target='';return true;">IDictionary<TKey,TValue></a> or anything deriving from <a target="_top" href=".html" onclick="this.target='';return true;">IDictionary<TKey,TValue></a>.
|
||||
Collections: <a target="_top" href=".html" onclick="this.target='';return true;">IList<T></a>, <a target="_top" href=".html" onclick="this.target='';return true;">IEnumerable<T></a>, <a target="_top" href=".html" onclick="this.target='';return true;">ICollection<T></a>, <a target="_top" href=".html" onclick="this.target='';return true;">IList</a>, <a target="_top" href=".html" onclick="this.target='';return true;">IEnumerable</a>, <a target="_top" href=".html" onclick="this.target='';return true;">ICollection</a> or anything deriving from <a target="_top" href=".html" onclick="this.target='';return true;">ICollection<T></a> or <a target="_top" href=".html" onclick="this.target='';return true;">IList</a>.
|
||||
Queryables: <a target="_top" href=".html" onclick="this.target='';return true;">IQueryable</a>, <a target="_top" href=".html" onclick="this.target='';return true;">IQueryable<T></a>.</summary-info>
|
||||
<summary-info>Creates a new <a target="_top" href="topic_00000000000003B9.html" onclick="this.target='';return true;">HelpPageSampleKey</a> based on media type.</summary-info>
|
||||
|
||||
|
||||
|
||||
@@ -148,7 +139,7 @@ Queryables: <a target="_top" href=".html" onclick="this.target='';return true;">
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeVB">
|
||||
<pre xml:space="preserve" class="brush: vb">Public Function GenerateObject( _ <br /> ByVal <i>type</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a> _ <br />) As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">Object</a></pre>
|
||||
<pre xml:space="preserve" class="brush: vb">Public Sub New( _ <br /> ByVal <i>mediaType</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a> _ <br />)</pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -187,7 +178,7 @@ Queryables: <a target="_top" href=".html" onclick="this.target='';return true;">
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeCsharp">
|
||||
<pre xml:space="preserve" class="brush: csharp">public <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a> GenerateObject( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a> <i>type</i> <br />)</pre>
|
||||
<pre xml:space="preserve" class="brush: csharp">public HelpPageSampleKey( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a> <i>mediaType</i> <br />)</pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -227,7 +218,7 @@ Queryables: <a target="_top" href=".html" onclick="this.target='';return true;">
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeCpp">
|
||||
<pre xml:space="preserve" class="brush: cpp">public: <br /><a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>^ GenerateObject( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a>^ <i>type</i> <br />) </pre>
|
||||
<pre xml:space="preserve" class="brush: cpp">public: <br />HelpPageSampleKey( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>^ <i>mediaType</i> <br />) </pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -266,7 +257,7 @@ Queryables: <a target="_top" href=".html" onclick="this.target='';return true;">
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeJScript">
|
||||
<pre xml:space="preserve" class="brush: js">public function GenerateObject( <br /> <i>type</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a> <br />) : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>;</pre>
|
||||
<pre xml:space="preserve" class="brush: js">public function HelpPageSampleKey( <br /> <i>mediaType</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a> <br />);</pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -278,29 +269,22 @@ Queryables: <a target="_top" href=".html" onclick="this.target='';return true;">
|
||||
|
||||
|
||||
<h4 class="subHeading">
|
||||
Parameters</h4><dl paramName="type" class="parameterList">
|
||||
Parameters</h4><dl paramName="mediaType" class="parameterList">
|
||||
<dt>
|
||||
<span class="parameter">
|
||||
type
|
||||
mediaType
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a>
|
||||
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>
|
||||
</dd>
|
||||
</dl>
|
||||
<p>
|
||||
The type.
|
||||
The media type.
|
||||
</p>
|
||||
|
||||
<p />
|
||||
|
||||
<h4 class="subHeading">
|
||||
Return Value</h4>
|
||||
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>
|
||||
<p>
|
||||
An object of the given type.
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -388,11 +372,11 @@ Queryables: <a target="_top" href=".html" onclick="this.target='';return true;">
|
||||
|
||||
<div id="seeAlsoSection" class="section">
|
||||
<div>
|
||||
<a href="topic_00000000000003B9.html">ObjectGenerator Class</a><br />
|
||||
<a href="topic_00000000000003B9.html">HelpPageSampleKey Class</a><br />
|
||||
|
||||
|
||||
|
||||
<a href="topic_000000000000033B.html">API_NetFramework.Areas.HelpPage Namespace</a><br />
|
||||
<a href="topic_0000000000000354.html">API_NetFramework.Areas.HelpPage Namespace</a><br />
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user