Difference between revisions of "Method defaultInstance"

From Ribbon Commander Documentation
Jump to: navigation, search
(Created page with "{{Under Construction}}")
 
Line 1: Line 1:
{{Under Construction}}
+
== Description ==
 +
Static method that returns the default [[rxCustomUI]] object of the current session.
 +
 
 +
== Parameters ==
 +
{{FuncTableBegin}}
 +
{{FuncTableEnd}}
 +
 
 +
== Remarks ==
 +
 
 +
== Examples ==
 +
 
 +
=== VBA ===
 +
<syntaxhighlight lang="vb" line>
 +
' Cache a reference to the default rxCustomUI of this session
 +
Dim myCustomUI As rxCustomUI
 +
Set myCustomUI = rxCustomUI.defaultInstance
 +
</syntaxhighlight>
 +
 
 +
=== C# ===
 +
<syntaxhighlight lang="csharp" line>
 +
// Cache a reference to the default rxCustomUI of this session
 +
rxCustomUI myCustomUI = rxCustomUI.defaultInstance
 +
</syntaxhighlight>
 +
 
 +
=== VB.NET ===
 +
<syntaxhighlight lang="vb" line>
 +
' Cache a reference to the default rxCustomUI of this session
 +
Dim myCustomUI As rxCustomUI = rxCustomUI.defaultInstance
 +
</syntaxhighlight>
 +
 
 +
=== C++ ===
 +
<syntaxhighlight lang="cpp" line>
 +
</syntaxhighlight>

Revision as of 15:32, 14 March 2013

Description

Static method that returns the default rxCustomUI object of the current session.

Parameters

Parameter Name
Parameter Type
Default Value
Description

Remarks

Examples

VBA

  1. ' Cache a reference to the default rxCustomUI of this session
  2. Dim myCustomUI As rxCustomUI
  3. Set myCustomUI = rxCustomUI.defaultInstance

C#

  1. // Cache a reference to the default rxCustomUI of this session
  2. rxCustomUI myCustomUI = rxCustomUI.defaultInstance

VB.NET

  1. ' Cache a reference to the default rxCustomUI of this session
  2. Dim myCustomUI As rxCustomUI = rxCustomUI.defaultInstance

C++

  1.