Share via


AllowedContentTypeCollection.GetEnumerator method

Returns an enumerator that can be used to iterate through the AllowedContentTypeCollection object.

Namespace:  Microsoft.Office.DocumentManagement.DocumentSets
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator
'Usage
Dim instance As AllowedContentTypeCollection
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator()
public IEnumerator GetEnumerator()

Return value

Type: System.Collections.IEnumerator
An enumerator that can be used to iterate through the AllowedContentTypeCollection instance.

Implements

IEnumerable.GetEnumerator()

See also

Reference

AllowedContentTypeCollection class

AllowedContentTypeCollection members

Microsoft.Office.DocumentManagement.DocumentSets namespace