Share via


TrustPolicyStringCollection.OnSet Method (Int32, Object, Object)

 

Updates an object at an index position in a collection.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Syntax

protected override void OnSet(
    int index,
    object oldValue,
    object newValue
)
protected:
virtual void OnSet(
    int index,
    Object^ oldValue,
    Object^ newValue
) override
override OnSet : 
        index:int *
        oldValue:Object *
        newValue:Object -> unit
Protected Overrides Sub OnSet (
    index As Integer,
    oldValue As Object,
    newValue As Object
)

Parameters

  • index
    Type: System.Int32

    The index of the position to insert this object.

  • newValue
    Type: System.Object

    The string object to be inserted. This object is validated on insertion for non-null, and non-duplicate.

See Also

TrustPolicyStringCollection Class
System.Web.Security.SingleSignOn Namespace

Return to top