/
PrivateComponentAttribute.xml
80 lines (71 loc) · 4.28 KB
/
PrivateComponentAttribute.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<Type Name="PrivateComponentAttribute" FullName="System.EnterpriseServices.PrivateComponentAttribute">
<TypeSignature Language="C#" Value="public sealed class PrivateComponentAttribute : Attribute" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit PrivateComponentAttribute extends System.Attribute" />
<TypeSignature Language="DocId" Value="T:System.EnterpriseServices.PrivateComponentAttribute" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class PrivateComponentAttribute
Inherits Attribute" />
<TypeSignature Language="F#" Value="type PrivateComponentAttribute = class
 inherit Attribute" />
<TypeSignature Language="C++ CLI" Value="public ref class PrivateComponentAttribute sealed : Attribute" />
<AssemblyInfo>
<AssemblyName>System.EnterpriseServices</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Attribute</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.AttributeUsage(System.AttributeTargets.Class, Inherited=true)]</AttributeName>
<AttributeName Language="F#">[<System.AttributeUsage(System.AttributeTargets.Class, Inherited=true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.InteropServices.ComVisible(false)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.ComVisible(false)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Identifies a component as a private component that is only seen and activated by components in the same application. This class cannot be inherited.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about using attributes, see [Attributes](/dotnet/standard/attributes/).
## Examples
The following code example shows the use of the <xref:System.EnterpriseServices.PrivateComponentAttribute> type.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesPrivateComponentAttribute/cpp/class1.cpp" id="Snippet0":::
:::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/PrivateComponentAttribute/Overview/class1.cs" id="Snippet0":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesPrivateComponentAttribute/VB/class1.vb" id="Snippet0":::
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public PrivateComponentAttribute ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.EnterpriseServices.PrivateComponentAttribute.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 PrivateComponentAttribute();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.EnterpriseServices</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.EnterpriseServices.PrivateComponentAttribute" /> class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code example creates a new <xref:System.EnterpriseServices.PrivateComponentAttribute>.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesPrivateComponentAttribute/cpp/class1.cpp" id="Snippet1":::
:::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/PrivateComponentAttribute/Overview/class1.cs" id="Snippet1":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesPrivateComponentAttribute/VB/class1.vb" id="Snippet1":::
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>