BaseCollection.OnValidate Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Syntax
'Declaration
Protected Overrides Sub OnValidate ( _
objectToValidate As Object _
)
'Usage
Dim objectToValidate As Object
Me.OnValidate(objectToValidate)
protected override void OnValidate(
Object objectToValidate
)
protected:
virtual void OnValidate(
Object^ objectToValidate
) override
protected override function OnValidate(
objectToValidate : Object
)
abstract OnValidate :
objectToValidate:Object -> unit
override OnValidate :
objectToValidate:Object -> unit
Parameters
- objectToValidate
Type: System.Object
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4, 3.5, 3.0