Condividi tramite


Policies Members

Represents a collection of policies.

The following tables list the members exposed by the Policies type.

Public Constructors

  Name Description
Policies Initializes a new instance of the Policies class.

Top

Public Properties

  Name Description
public property Count Gets the number of policies in the collection.
public property static Default Gets the policies specified in the Web service or Web service client's policy file.
public property IsReadOnly Gets a value indicating whether the collection is read-only.
public property Item Gets or sets the policy at the specified index.
public property Keys Gets a System.Collections.Generic.ICollection containing the keys in the policies collection.
public property Values Gets a System.Collections.Generic.ICollection containing the values in the policies collection.

Top

Public Methods

(see also Protected Methods )

  Name Description
public method Add Adds the specified policy to the collection.
public method Clear Removes all the policies from the collection.
public method ContainsKey Determines whether the collection contains a policy with the specified key.
public method Equals  Overloaded. (Inherited from Object )
public method GetEnumerator Gets an System.Collections.IEnumerator that can iterate through the Policies collection.
public method GetHashCode  (Inherited from Object )
public method GetSchema Returns schema information for the policies.
public method GetType  (Inherited from Object )
public method ReadXml Reads the <policies> XML element in a policy file.
public method static ReferenceEquals  (Inherited from Object )
public method Remove Removes the policy with the specified key from the collection.
public method ToString  (Inherited from Object )
public method TryGetValue Gets the value associated with the specified key.
public method WriteXml Writes the current set of policies as XML using the specified System.Xml.XmlWriter.

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object )
protected method MemberwiseClone  (Inherited from Object )

Top

Explicit Interface Implementations

  Name Description
System.Collections.Generic.ICollection<KeyValuePair<String, Policy>>.Add  
System.Collections.Generic.ICollection<KeyValuePair<String, Policy>>.Contains  
System.Collections.Generic.ICollection<KeyValuePair<String, Policy>>.CopyTo  
System.Collections.Generic.ICollection<KeyValuePair<String, Policy>>.Remove  
System.Collections.Generic.IEnumerable<KeyValuePair<String, Policy>>.GetEnumerator  

Top

See Also

Reference

Policies Class
Microsoft.Web.Services3.Design Namespace