Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

185 lines
9.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="IReferenceService" FullName="System.ComponentModel.Design.IReferenceService">
<TypeSignature Language="C#" Maintainer="auto" Value="public interface IReferenceService" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IReferenceService" />
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
<AssemblyVersion>1.0.3300.0</AssemblyVersion>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.ComponentModel.Design.IReferenceService" /> interface provides the following methods: </para>
<list type="bullet">
<item>
<para>The <see cref="M:System.ComponentModel.Design.IReferenceService.GetReference(System.String)" /> method returns the component with the specified name, or null if no component with the specified name was found.</para>
</item>
<item>
<para>The <see cref="M:System.ComponentModel.Design.IReferenceService.GetName(System.Object)" /> method returns the name associated with the specified component.</para>
</item>
<item>
<para>The <see cref="M:System.ComponentModel.Design.IReferenceService.GetComponent(System.Object)" /> method returns the parent container of the specified component.</para>
</item>
<item>
<para>The <see cref="M:System.ComponentModel.Design.IReferenceService.GetReferences" /> method returns an array of references to all project components, or all project components of an optionally specified type.</para>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides an interface for obtaining references to objects within a project by name or type, obtaining the name of a specified object, and for locating the parent of a specified object within a designer project.</para>
</summary>
</Docs>
<Members>
<Member MemberName="GetComponent">
<MemberSignature Language="C#" Value="public System.ComponentModel.IComponent GetComponent (object reference);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.ComponentModel.IComponent GetComponent(object reference) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ComponentModel.IComponent</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="reference" Type="System.Object" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the component that contains the specified component.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The base <see cref="T:System.ComponentModel.IComponent" /> that contains the specified object, or null if no parent component exists.</para>
</returns>
<param name="reference">
<attribution license="cc4" from="Microsoft" modified="false" />The object to retrieve the parent component for. </param>
</Docs>
</Member>
<Member MemberName="GetName">
<MemberSignature Language="C#" Value="public string GetName (object reference);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string GetName(object reference) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="reference" Type="System.Object" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The name of each component sited in a design time project is set in the <see cref="P:System.ComponentModel.ISite.Name" /> property of the <see cref="T:System.ComponentModel.ISite" /> where the component is sited.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the name of the specified component.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The name of the object referenced, or null if the object reference is not valid.</para>
</returns>
<param name="reference">
<attribution license="cc4" from="Microsoft" modified="false" />The object to return the name of. </param>
</Docs>
</Member>
<Member MemberName="GetReference">
<MemberSignature Language="C#" Value="public object GetReference (string name);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object GetReference(string name) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets a reference to the component whose name matches the specified name.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An object the specified name refers to, or null if no reference is found.</para>
</returns>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the component to return a reference to. </param>
</Docs>
</Member>
<Member MemberName="GetReferences">
<MemberSignature Language="C#" Value="public object[] GetReferences ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object[] GetReferences() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets all available references to project components.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An array of all objects with references available to the <see cref="T:System.ComponentModel.Design.IReferenceService" />.</para>
</returns>
</Docs>
</Member>
<Member MemberName="GetReferences">
<MemberSignature Language="C#" Value="public object[] GetReferences (Type baseType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object[] GetReferences(class System.Type baseType) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="baseType" Type="System.Type" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets all available references to components of the specified type.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An array of all available objects of the specified type.</para>
</returns>
<param name="baseType">
<attribution license="cc4" from="Microsoft" modified="false" />The type of object to return references to instances of. </param>
</Docs>
</Member>
</Members>
</Type>