ValidatePropertyType Method
See Also 
SourceCode.Framework.Design Namespace > ToolboxItemWizard Class : ValidatePropertyType Method



propertyName
value
expectedType
allowNull

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Protected Sub ValidatePropertyType( _
   ByVal propertyName As String, _
   ByVal value As Object, _
   ByVal expectedType As Type, _
   ByVal allowNull As Boolean _
) 
Visual Basic (Usage) Copy Code
Dim instance As ToolboxItemWizard
Dim propertyName As String
Dim value As Object
Dim expectedType As Type
Dim allowNull As Boolean
 
instance.ValidatePropertyType(propertyName, value, expectedType, allowNull)
C#  
protected void ValidatePropertyType( 
   string propertyName,
   object value,
   Type expectedType,
   bool allowNull
)
C++/CLI  
protected:
void ValidatePropertyType( 
   String^ propertyName,
   Object^ value,
   Type^ expectedType,
   bool allowNull
) 

Parameters

propertyName
value
expectedType
allowNull

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