Visual Basic (Declaration) | |
---|---|
Public Function AddDefaultMethod( _ ByVal defaultMethodType As DefaultMethodType, _ ByVal smartMethodDefinition As SmartMethodDefinition _ ) As Integer |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As SmartObjectDefault Dim defaultMethodType As DefaultMethodType Dim smartMethodDefinition As SmartMethodDefinition Dim value As Integer value = instance.AddDefaultMethod(defaultMethodType, smartMethodDefinition) |
C# | |
---|---|
public int AddDefaultMethod( DefaultMethodType defaultMethodType, SmartMethodDefinition smartMethodDefinition ) |
C++/CLI | |
---|---|
public: int AddDefaultMethod( DefaultMethodType defaultMethodType, SmartMethodDefinition^ smartMethodDefinition ) |
Parameters
- defaultMethodType
- smartMethodDefinition
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