ServiceTypeList Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a list of service type.
public sealed class ServiceTypeList : System.Collections.Generic.ICollection<System.Fabric.Query.ServiceType>, System.Collections.Generic.IEnumerable<System.Fabric.Query.ServiceType>, System.Collections.Generic.IList<System.Fabric.Query.ServiceType>
type ServiceTypeList = class
interface IList<ServiceType>
interface ICollection<ServiceType>
interface seq<ServiceType>
interface IEnumerable
Public NotInheritable Class ServiceTypeList
Implements ICollection(Of ServiceType), IEnumerable(Of ServiceType), IList(Of ServiceType)
- Inheritance
-
ServiceTypeList
- Implements
Properties
Count |
Gets or sets the number of elements in the ServiceTypeList. |
IsReadOnly |
Gets or sets whether ServiceTypeList is read-only. |
Item[Int32] |
Gets or sets the element at the specified index. |
Methods
Add(ServiceType) |
Adds an object to the end of the ServiceTypeList. |
Clear() |
Removes all elements from the ServiceTypeList. |
Contains(ServiceType) |
Determines whether an element is in the ServiceTypeList.. |
CopyTo(ServiceType[], Int32) |
Copies the entire ServiceTypeList to a compatible one-dimensional ServiceTypeList, starting at the specified index of the target array. |
GetEnumerator() |
Returns an enumerator for the entire ServiceTypeList.. |
IndexOf(ServiceType) |
Searches for the specified ServiceType and returns the zero-based index of the first occurrence within the entire ServiceTypeList. |
Insert(Int32, ServiceType) |
Inserts an element into the ServiceTypeList at the specified index. |
Remove(ServiceType) |
Removes the first occurrence of a specific object from the ServiceTypeList.. |
RemoveAt(Int32) |
Removes the element at the specified index of the ServiceTypeList.. |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |
Returns the enumerator for the ServiceTypeList.. |
Extension Methods
ToCommaSeparatedString<T>(IEnumerable<T>) |
Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections. |
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för