Validates a certain override value for a scalar setting.
Namespace:
Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly:
Microsoft.ComponentStudio.ComponentPlatformInterface (in
microsoft.componentstudio.componentplatforminterface.dll)
Usage
Visual Basic |
Dim value As String
Dim returnValue As CpiResult
Dim settingDefinition1 As SettingDefinition
returnValue = settingDefinition1.Validate(value)
|
Syntax
Visual Basic |
Public Overridable Function Validate( _
ByVal value As String _
) As CpiResult
|
C# |
public virtual CpiResult Validate(
string value
);
|
C++ |
public:
virtual CpiResult^ Validate(
String^ value
);
|
J# |
public CpiResult Validate(
System.String value
);
|
JScript |
public function Validate(
value : String
) : CpiResult;
|
Parameters
- value
-
The value to validate.
Return Value
The validation result.
Remarks
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server
2003, Windows Vista, and Windows 2000
Target Platforms
See Also