You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
250 lines
14 KiB
250 lines
14 KiB
<topic template="API_general" status="Complete" lasteditedby="VSdocman">
|
|
<title translate="true">MySettings.Default Property</title>
|
|
<keywords>
|
|
<keyword translate="true">MySettings.Default Property</keyword>
|
|
<keyword translate="true">EDKB12WS.My.MySettings.Default Property</keyword>
|
|
|
|
<keyword translate="true">Default Property</keyword>
|
|
|
|
</keywords>
|
|
<a-keywords>
|
|
<a-keyword>topic_00000000000003EA</a-keyword>
|
|
<a-keyword>EDKB12WS.My.MySettings.Default</a-keyword>
|
|
</a-keywords>
|
|
<topic-variables>
|
|
<topic-variable id="CONTEXT-TERM1">EDKB12WS.My.MySettings.Default</topic-variable>
|
|
<topic-variable id="CONTEXT-TERM2">MySettings.Default</topic-variable>
|
|
<topic-variable id="CONTEXT-TERM3">EDKB12WS.My.MySettings.MySettings.Default</topic-variable>
|
|
<topic-variable id="MEMBER-FULLNAME">EDKB12WS.My.MySettings.Default</topic-variable>
|
|
<topic-variable id="MEMBER-ASSEMBLY-NAME">EDKB12WS (in EDKB12WS.exe)</topic-variable>
|
|
<topic-variable id="MEMBER-NAME">MySettings.Default</topic-variable>
|
|
<topic-variable id="MEMBER-TYPE">Property</topic-variable>
|
|
<topic-variable id="MEMBER-PARENT">EDKB12WS.My.MySettings</topic-variable>
|
|
<topic-variable id="MEMBER-LINK">topic_00000000000003EA</topic-variable>
|
|
</topic-variables>
|
|
<body>
|
|
<header>
|
|
<para styleclass="Title"><text styleclass="Title" translate="true">MySettings.Default Property</text></para>
|
|
</header>
|
|
|
|
|
|
|
|
<para styleclass="Normal">
|
|
<text styleclass="Normal" style="font-weight:bold;" translate="true">Namespace:</text>
|
|
<text styleclass="Normal" translate="true">
|
|
<link displaytype="text" defaultstyle="true" type="topiclink" href="topic_00000000000003E7" translate="true">EDKB12WS.My<title translate="true"></title></link>
|
|
|
|
|
|
|
|
</text>
|
|
|
|
<br/><text styleclass="Normal" style="font-weight:bold;" translate="true">Assembly:</text>
|
|
<text styleclass="Normal" translate="true">
|
|
EDKB12WS (in EDKB12WS.exe)
|
|
</text>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<para styleclass="Heading1"><conditional-text type="IF" value="declarations"/><conditional-text type="IFNOT" value="PDF,PRINT"/><image src="expall.gif" scale="100.00%" styleclass="Heading1"></image><conditional-text type="END"/><toggle type="dropdown" id="syntaxToggle" print-expanded="true" help-expanded="true" defaultstyle="true" src-collapsed="expall.gif" src-expanded="collall.gif" styleclass="Heading1"><caption translate="true"><![CDATA[Syntax]]></caption></toggle></para>
|
|
<para styleclass="ToggleSectionParagraph"><table styleclass="ToggleSection" rowcount="1" colcount="1">
|
|
<tr style="vertical-align:top">
|
|
<td style="width:10%; background-color:#ffffff;">
|
|
|
|
|
|
<para styleclass="Normal"><table styleclass="MainSectionTable" rowcount="2" colcount="1">
|
|
<tr style="vertical-align:top">
|
|
<td>
|
|
<para styleclass="Table Heading VB"><text styleclass="Table Heading VB" translate="true">Visual Basic</text></para>
|
|
</td>
|
|
</tr>
|
|
<tr style="vertical-align:top">
|
|
<td>
|
|
<para styleclass="Code Example"><text styleclass="Code Example" translate="true">Public ReadOnly Shared Property Default() As <link displaytype="text" styleclass="Code Example" defaultstyle="true" type="topiclink" href="topic_00000000000003E8" translate="true">MySettings<title translate="true"></title></link></text></para>
|
|
</td>
|
|
</tr>
|
|
</table></para>
|
|
|
|
<para styleclass="Normal"><table styleclass="MainSectionTable" rowcount="2" colcount="1">
|
|
<tr style="vertical-align:top">
|
|
<td>
|
|
<para styleclass="Table Heading Csharp"><text styleclass="Table Heading Csharp" translate="true">C#</text></para>
|
|
</td>
|
|
</tr>
|
|
<tr style="vertical-align:top">
|
|
<td>
|
|
<para styleclass="Code Example"><text styleclass="Code Example" translate="true">public static <link displaytype="text" styleclass="Code Example" defaultstyle="true" type="topiclink" href="topic_00000000000003E8" translate="true">MySettings<title translate="true"></title></link> Default {get;}</text></para>
|
|
</td>
|
|
</tr>
|
|
</table></para>
|
|
|
|
<para styleclass="Normal"><table styleclass="MainSectionTable" rowcount="2" colcount="1">
|
|
<tr style="vertical-align:top">
|
|
<td>
|
|
<para styleclass="Table Heading Cpp"><text styleclass="Table Heading Cpp" translate="true">C++</text></para>
|
|
</td>
|
|
</tr>
|
|
<tr style="vertical-align:top">
|
|
<td>
|
|
<para styleclass="Code Example"><text styleclass="Code Example" translate="true">public: <br/>static property <link displaytype="text" styleclass="Code Example" defaultstyle="true" type="topiclink" href="topic_00000000000003E8" translate="true">MySettings<title translate="true"></title></link>^ Default {<br/> <link displaytype="text" styleclass="Code Example" defaultstyle="true" type="topiclink" href="topic_00000000000003E8" translate="true">MySettings<title translate="true"></title></link>^ get( );<br/>}</text></para>
|
|
</td>
|
|
</tr>
|
|
</table></para>
|
|
|
|
<para styleclass="Normal"><table styleclass="MainSectionTable" rowcount="2" colcount="1">
|
|
<tr style="vertical-align:top">
|
|
<td>
|
|
<para styleclass="Table Heading Jscript"><text styleclass="Table Heading Jscript" translate="true">JScript</text></para>
|
|
</td>
|
|
</tr>
|
|
<tr style="vertical-align:top">
|
|
<td>
|
|
<para styleclass="Code Example"><text styleclass="Code Example" translate="true">public static function get Default() : <link displaytype="text" styleclass="Code Example" defaultstyle="true" type="topiclink" href="topic_00000000000003E8" translate="true">MySettings<title translate="true"></title></link>;</text></para>
|
|
</td>
|
|
</tr>
|
|
</table></para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
</table></para>
|
|
<para styleclass="ToggleSectionParagraph"><conditional-text type="END"/></para>
|
|
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
</table></para>
|
|
$END-IFNOTEMPTY$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<para styleclass="Heading1"><conditional-text type="IFNOT" value="PDF,PRINT"/><image src="expall.gif" scale="100.00%" styleclass="Heading1"></image><conditional-text type="END"/><toggle type="dropdown" print-expanded="true" help-expanded="true" defaultstyle="true" src-collapsed="expall.gif" src-expanded="collall.gif" styleclass="Heading1"><caption translate="true"><![CDATA[Source code]]></caption></toggle></para>
|
|
<para styleclass="ToggleSectionParagraph"><table styleclass="ToggleSection" rowcount="1" colcount="1" style="border-width:0px; border-spacing:0px; border-collapse:collapse; cell-border-width:1px; border-color:#ffffff; border-style:solid;">
|
|
<tr style="vertical-align:top">
|
|
<td style="width:10%; background-color:#ffffff;">
|
|
<para styleclass="Normal"><table styleclass="CodeTable" rowcount="2" colcount="2">
|
|
<tr style="vertical-align:top">
|
|
<td>
|
|
<para styleclass="Table Heading VB"><text styleclass="Table Heading VB" translate="true">Visual Basic</text></para>
|
|
</td>
|
|
<td style="width:1%;">
|
|
<para styleclass="Copy Code Link"><conditional-text type="IF" value="CHM,HTML,HXS"/><html-code width="200" height="20" translate="true"><![CDATA[<span title="Copy Code" class="copyCode" onclick="CopyCode(this)" onkeypress="CopyCode_CheckKey(this, event)" onmouseover="ChangeCopyCodeIcon(this)" onmouseout="ChangeCopyCodeIcon(this)" tabindex="0"><img class="copyCodeImage" name="ccImage" align="absmiddle" alt="Copy Code" src="copycode.gif" />Copy Code</span>
|
|
]]></html-code><conditional-text type="END"/></para>
|
|
</td>
|
|
</tr>
|
|
<tr style="vertical-align:top">
|
|
<td colspan="2">
|
|
<para styleclass="Code Example"><text styleclass="Code Example" translate="true">
|
|
       Public Shared ReadOnly Property [Default]() As MySettings<br/>            Get<br/> <br/> #If _MyType = "WindowsForms" Then<br/>               If Not addedHandler Then<br/>                    SyncLock addedHandlerLockObject<br/>                        If Not addedHandler Then<br/>                            AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings<br/>                            addedHandler = True<br/>                        End If<br/>                    End SyncLock<br/>                End If<br/> #End If<br/>                Return defaultInstance<br/>            End Get<br/>        End Property
|
|
</text></para>
|
|
</td>
|
|
</tr>
|
|
</table></para>
|
|
|
|
</td>
|
|
</tr>
|
|
</table></para>
|
|
|
|
|
|
|
|
<para styleclass="Heading1"><conditional-text type="IF" value="PLATFORMS"/><conditional-text type="IFNOT" value="PDF,PRINT"/><image src="expall.gif" scale="100.00%" styleclass="Heading1"></image><conditional-text type="END"/><toggle type="dropdown" print-expanded="true" help-expanded="true" defaultstyle="true" src-collapsed="expall.gif" src-expanded="collall.gif" styleclass="Heading1"><caption translate="true"><![CDATA[Platforms]]></caption></toggle></para>
|
|
<para styleclass="ToggleSectionParagraph"><table styleclass="ToggleSection" rowcount="1" colcount="1" style="border-width:0px; border-spacing:0px; border-collapse:collapse; cell-border-width:1px; border-color:#ffffff; border-style:solid;">
|
|
<tr style="vertical-align:top">
|
|
<td style="width:10%; background-color:#ffffff;">
|
|
<para styleclass="Normal"><text styleclass="Normal" translate="true">Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2</text></para>
|
|
<para styleclass="Normal"><text styleclass="Normal" translate="true">The .NET Framework does not support all versions of every platform. For a list of the supported versions, see
|
|
<text></text><html-code width="20" height="20" translate="true"><![CDATA[<span class="msdn-link-container">]]></html-code><link displaytype="text" styleclass="Normal" defaultstyle="true" type="weblink" href="msdn::298275e2-da1d-4618-9f74-6a3567832350" translate="true">System Requirements<title translate="true"></title></link><conditional-text type="IF" value="HXS"/><html-code width="20" height="20" translate="true"><![CDATA[<MSHelp:link keywords="a" indexMoniker="!DefaultAssociativeIndex" tabindex="0">a</MSHelp:link>]]></html-code><conditional-text type="END"/><html-code width="20" height="20" translate="true"><![CDATA[</span>]]></html-code><text styleclass="Normal" defaultstyle="true"></text>.</text></para>
|
|
</td>
|
|
</tr>
|
|
</table></para>
|
|
<para styleclass="ToggleSectionParagraph"><conditional-text type="END"/></para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<para styleclass="Heading1"><conditional-text type="IF" value="FRAMEWORKS"/><conditional-text type="IFNOT" value="PDF,PRINT"/><image src="expall.gif" scale="100.00%" styleclass="Heading1"></image><conditional-text type="END"/><toggle type="dropdown" print-expanded="true" help-expanded="true" defaultstyle="true" src-collapsed="expall.gif" src-expanded="collall.gif" styleclass="Heading1"><caption translate="true"><![CDATA[Version Information]]></caption></toggle></para>
|
|
<para styleclass="ToggleSectionParagraph"><table styleclass="ToggleSection" rowcount="1" colcount="1" style="border-width:0px; border-spacing:0px; border-collapse:collapse; cell-border-width:1px; border-color:#ffffff; border-style:solid;">
|
|
<tr style="vertical-align:top">
|
|
<td style="width:10%; background-color:#ffffff;">
|
|
<para styleclass="Heading2"><text styleclass="Heading2" translate="true">.NET Framework</text></para>
|
|
<para styleclass="Normal"><text styleclass="Normal" translate="true">Supported in: 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0<br/></text></para>
|
|
|
|
<para styleclass="Heading2"><text styleclass="Heading2" translate="true">.NET Compact Framework</text></para>
|
|
<para styleclass="Normal"><text styleclass="Normal" translate="true">Supported in: 3.5, 2.0, 1.0<br/></text></para>
|
|
|
|
<para styleclass="Heading2"><text styleclass="Heading2" translate="true">XNA Framework</text></para>
|
|
<para styleclass="Normal"><text styleclass="Normal" translate="true">Supported in: 3.0, 2.0, 1.0<br/></text></para>
|
|
|
|
</td>
|
|
</tr>
|
|
</table></para>
|
|
<para styleclass="ToggleSectionParagraph"><conditional-text type="END"/></para>
|
|
|
|
<para styleclass="Heading1"><anchor id="seeAlsoToggle" styleclass="Heading1"></anchor><conditional-text type="IFNOT" value="PDF,PRINT"/><image src="expall.gif" scale="100.00%" styleclass="Heading1"></image><conditional-text type="END"/><toggle type="dropdown" id="seeAlsoToggleSection" print-expanded="true" help-expanded="true" defaultstyle="true" src-collapsed="expall.gif" src-expanded="collall.gif" styleclass="Heading1"><caption translate="true"><![CDATA[See Also]]></caption></toggle></para>
|
|
<para styleclass="ToggleSectionParagraph"><table styleclass="ToggleSection" rowcount="1" colcount="1">
|
|
<tr style="vertical-align:top">
|
|
<td style="width:10%; background-color:#ffffff;">
|
|
<para styleclass="Heading2"><text styleclass="Heading2" translate="true">Reference</text></para>
|
|
<para styleclass="Normal"><text styleclass="Normal" translate="true">
|
|
<link displaytype="text" styleclass="Normal" defaultstyle="true" type="topiclink" href="topic_00000000000003E8" translate="true">MySettings Class<title translate="true">MySettings Class</title></link><br/>
|
|
<link displaytype="text" styleclass="Normal" defaultstyle="true" type="topiclink" href="topic_00000000000003E8_members--" translate="true">MySettings MySettings Members<title translate="true">MySettings MySettings Members</title></link><br/>
|
|
|
|
|
|
|
|
<link displaytype="text" styleclass="Normal" defaultstyle="true" type="topiclink" href="topic_00000000000003E7" translate="true">EDKB12WS.My Namespace<title translate="true">EDKB12WS.My Namespace</title></link><br/>
|
|
|
|
|
|
|
|
|
|
</para>
|
|
</td>
|
|
</tr>
|
|
</table></para>
|
|
</body>
|
|
</topic>
|
|
|