Freigeben über


ClassOps.ValidateSetProperty(Type, String, Object) Method

Definition

This method calls all Validate attributes for the property to validate value. Called from class property setters with ValidateArgumentsAttribute attributes.

public:
 static void ValidateSetProperty(Type ^ type, System::String ^ propertyName, System::Object ^ value);
public:
 static void ValidateSetProperty(Platform::Type ^ type, Platform::String ^ propertyName, Platform::Object ^ value);
public static void ValidateSetProperty (Type type, string propertyName, object value);
static member ValidateSetProperty : Type * string * obj -> unit
Public Shared Sub ValidateSetProperty (type As Type, propertyName As String, value As Object)

Parameters

type
Type
propertyName
String
value
Object

Applies to