Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
143 lines (131 sloc) 8.28 KB
<Type Name="PackageRelationshipCollection" FullName="System.IO.Packaging.PackageRelationshipCollection">
<TypeSignature Language="C#" Value="public class PackageRelationshipCollection : System.Collections.Generic.IEnumerable&lt;System.IO.Packaging.PackageRelationship&gt;" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit PackageRelationshipCollection extends System.Object implements class System.Collections.Generic.IEnumerable`1&lt;class System.IO.Packaging.PackageRelationship&gt;, class System.Collections.IEnumerable" />
<TypeSignature Language="DocId" Value="T:System.IO.Packaging.PackageRelationshipCollection" />
<TypeSignature Language="VB.NET" Value="Public Class PackageRelationshipCollection&#xA;Implements IEnumerable(Of PackageRelationship)" />
<TypeSignature Language="C++ CLI" Value="public ref class PackageRelationshipCollection : System::Collections::Generic::IEnumerable&lt;System::IO::Packaging::PackageRelationship ^&gt;" />
<TypeSignature Language="F#" Value="type PackageRelationshipCollection = class&#xA; interface seq&lt;PackageRelationship&gt;&#xA; interface IEnumerable" />
<AssemblyInfo>
<AssemblyName>System.IO.Packaging</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.2.0</AssemblyVersion>
<AssemblyVersion>4.0.3.0</AssemblyVersion>
<AssemblyVersion>4.0.4.0</AssemblyVersion>
<AssemblyVersion>4.0.5.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Collections.Generic.IEnumerable&lt;System.IO.Packaging.PackageRelationship&gt;</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Collections.IEnumerable</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>Represents a collection of <see cref="T:System.IO.Packaging.PackageRelationship" /> elements that are owned by a given <see cref="T:System.IO.Packaging.PackagePart" /> or the <see cref="T:System.IO.Packaging.Package" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.IO.Packaging.PackageRelationshipCollection> class has no public constructor. This class is created and returned by the following methods.
- **Package**.<xref:System.IO.Packaging.Package.GetRelationships%2A>
- **Package**.<xref:System.IO.Packaging.Package.GetRelationshipsByType%2A>
- **PackagePart**.<xref:System.IO.Packaging.PackagePart.GetRelationships%2A>
- **PackagePart**.<xref:System.IO.Packaging.PackagePart.GetRelationshipsByType%2A>
]]></format>
</remarks>
<altmember cref="N:System.Collections" />
<altmember cref="N:System.Collections.Generic" />
<altmember cref="T:System.IO.Packaging.PackagePartCollection" />
</Docs>
<Members>
<Member MemberName="GetEnumerator">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IEnumerator&lt;System.IO.Packaging.PackageRelationship&gt; GetEnumerator ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.Generic.IEnumerator`1&lt;class System.IO.Packaging.PackageRelationship&gt; GetEnumerator() cil managed" />
<MemberSignature Language="DocId" Value="M:System.IO.Packaging.PackageRelationshipCollection.GetEnumerator" />
<MemberSignature Language="VB.NET" Value="Public Function GetEnumerator () As IEnumerator(Of PackageRelationship)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual System::Collections::Generic::IEnumerator&lt;System::IO::Packaging::PackageRelationship ^&gt; ^ GetEnumerator();" />
<MemberSignature Language="F#" Value="abstract member GetEnumerator : unit -&gt; System.Collections.Generic.IEnumerator&lt;System.IO.Packaging.PackageRelationship&gt;&#xA;override this.GetEnumerator : unit -&gt; System.Collections.Generic.IEnumerator&lt;System.IO.Packaging.PackageRelationship&gt;" Usage="packageRelationshipCollection.GetEnumerator " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.Generic.IEnumerable`1.GetEnumerator</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.IO.Packaging</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.2.0</AssemblyVersion>
<AssemblyVersion>4.0.3.0</AssemblyVersion>
<AssemblyVersion>4.0.4.0</AssemblyVersion>
<AssemblyVersion>4.0.5.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerator&lt;System.IO.Packaging.PackageRelationship&gt;</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns an enumerator for iterating through the relationships in the collection.</summary>
<returns>An enumerator for iterating through the <see cref="T:System.IO.Packaging.PackageRelationship" /> elements in the collection.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The collection accessed by the enumerator is invalidated after any change occurs to the underlying collection. The underlying collection can change when any of the following methods are called.
- **Package**.<xref:System.IO.Packaging.Package.CreateRelationship%2A>
- **Package**.<xref:System.IO.Packaging.Package.DeleteRelationship%2A>
- **PackagePart**.<xref:System.IO.Packaging.PackagePart.CreateRelationship%2A>
- **PackagePart**.<xref:System.IO.Packaging.PackagePart.DeleteRelationship%2A>
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="System.Collections.IEnumerable.GetEnumerator">
<MemberSignature Language="C#" Value="System.Collections.IEnumerator IEnumerable.GetEnumerator ();" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance class System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() cil managed" />
<MemberSignature Language="DocId" Value="M:System.IO.Packaging.PackageRelationshipCollection.System#Collections#IEnumerable#GetEnumerator" />
<MemberSignature Language="VB.NET" Value="Function GetEnumerator () As IEnumerator Implements IEnumerable.GetEnumerator" />
<MemberSignature Language="C++ CLI" Value=" virtual System::Collections::IEnumerator ^ System.Collections.IEnumerable.GetEnumerator() = System::Collections::IEnumerable::GetEnumerator;" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.IEnumerable.GetEnumerator</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.IO.Packaging</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.2.0</AssemblyVersion>
<AssemblyVersion>4.0.3.0</AssemblyVersion>
<AssemblyVersion>4.0.4.0</AssemblyVersion>
<AssemblyVersion>4.0.5.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.IEnumerator</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>This type or member supports the Windows Presentation Foundation infrastructure and is not intended to be used directly from your code.</summary>
<returns>Do not use - use <see cref="M:System.IO.Packaging.PackageRelationshipCollection.GetEnumerator" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.