共用方式為


ValidateTrustedDataAttribute Class

Definition

Validates that each parameter argument is Trusted data.

[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class ValidateTrustedDataAttribute : System.Management.Automation.ValidateArgumentsAttribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)>]
type ValidateTrustedDataAttribute = class
    inherit ValidateArgumentsAttribute
Public NotInheritable Class ValidateTrustedDataAttribute
Inherits ValidateArgumentsAttribute
Inheritance
Attributes

Constructors

ValidateTrustedDataAttribute()

Methods

Validate(Object, EngineIntrinsics)

Verify that the value of arguments is valid.

(Inherited from ValidateArgumentsAttribute)

Applies to