'Declaration Overloads Function Create( _ ByVal btnKey As String, _ ByVal useCache As Boolean _ ) As ITBarButton
ITBarButton Create( string btnKey, bool useCache )
An ITBarButton wrapper is created using this factory method when its not ordinarily desirable to create a new instance, but instead to reuse an existing button instance that may have already been cached. If no matching button instance can be found, this method instantiates a new instance of ITBarButton.
A conforming IButtonFactory implementation may ignore the useCache argument when HasCache is false. In this case, this factory method behaves as if no matching button could be found in the cache (it must create a new instance).
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2