AddDefaultMethod Method
See Also 
SourceCode.SmartObjects.Authoring Namespace > SmartObjectDefault Class : AddDefaultMethod Method



defaultMethodType
smartMethodDefinition

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function AddDefaultMethod( _
   ByVal defaultMethodType As DefaultMethodType, _
   ByVal smartMethodDefinition As SmartMethodDefinition _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As SmartObjectDefault
Dim defaultMethodType As DefaultMethodType
Dim smartMethodDefinition As SmartMethodDefinition
Dim value As Integer
 
value = instance.AddDefaultMethod(defaultMethodType, smartMethodDefinition)

Parameters

defaultMethodType
smartMethodDefinition

Requirements

Target Platforms: 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

See Also