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 | |
---|---|---|
![]() |
Count | Gets the number of policies in the collection. |
![]() ![]() |
Default | Gets the policies specified in the Web service or Web service client's policy file. |
![]() |
IsReadOnly | Gets a value indicating whether the collection is read-only. |
![]() |
Item | Gets or sets the policy at the specified index. |
![]() |
Keys | Gets a System.Collections.Generic.ICollection containing the keys in the policies collection. |
![]() |
Values | Gets a System.Collections.Generic.ICollection containing the values in the policies collection. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() |
Add | Adds the specified policy to the collection. |
![]() |
Clear | Removes all the policies from the collection. |
![]() |
ContainsKey | Determines whether the collection contains a policy with the specified key. |
![]() |
Equals | Overloaded. (Inherited from Object ) |
![]() |
GetEnumerator | Gets an System.Collections.IEnumerator that can iterate through the Policies collection. |
![]() |
GetHashCode | (Inherited from Object ) |
![]() |
GetSchema | Returns schema information for the policies. |
![]() |
GetType | (Inherited from Object ) |
![]() |
ReadXml | Reads the <policies> XML element in a policy file. |
![]() ![]() |
ReferenceEquals | (Inherited from Object ) |
![]() |
Remove | Removes the policy with the specified key from the collection. |
![]() |
ToString | (Inherited from Object ) |
![]() |
TryGetValue | Gets the value associated with the specified key. |
![]() |
WriteXml | Writes the current set of policies as XML using the specified System.Xml.XmlWriter. |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (Inherited from Object ) |
![]() |
MemberwiseClone | (Inherited from Object ) |
Top
Explicit Interface Implementations
Top