/
IDispatchImplAttribute.xml
142 lines (135 loc) · 9.96 KB
/
IDispatchImplAttribute.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<Type Name="IDispatchImplAttribute" FullName="System.Runtime.InteropServices.IDispatchImplAttribute">
<TypeSignature Language="C#" Value="public sealed class IDispatchImplAttribute : Attribute" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit IDispatchImplAttribute extends System.Attribute" />
<TypeSignature Language="DocId" Value="T:System.Runtime.InteropServices.IDispatchImplAttribute" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class IDispatchImplAttribute
Inherits Attribute" />
<TypeSignature Language="F#" Value="type IDispatchImplAttribute = class
 inherit Attribute" />
<TypeSignature Language="C++ CLI" Value="public ref class IDispatchImplAttribute sealed : Attribute" />
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.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.Assembly | System.AttributeTargets.Class, Inherited=false)]</AttributeName>
<AttributeName Language="F#">[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, Inherited=false)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Obsolete("This attribute is deprecated and will be removed in a future version.", false)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This attribute is deprecated and will be removed in a future version.", false)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Runtime.InteropServices.ComVisible(true)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.ComVisible(true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Indicates which <see langword="IDispatch" /> implementation the common language runtime uses when exposing dual interfaces and dispinterfaces to COM.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You can apply this attribute to classes or assemblies.
This attribute should only be set when an explicit implementation is required. When you set the attribute to <xref:System.Runtime.InteropServices.IDispatchImplType.CompatibleImpl>, the `IDispatch` implementation is supplied by passing the type information for the object to COM's `CreateStdDispatch` API. When you set the attribute to <xref:System.Runtime.InteropServices.IDispatchImplType.InternalImpl>, the `IDispatch` implementation is supplied by the common language runtime. Setting the attribute to <xref:System.Runtime.InteropServices.IDispatchImplType.SystemDefinedImpl> allows the runtime to choose the appropriate implementation. When using the attribute on an assembly, the attribute applies to all classes defined within the assembly. When using the attribute on an individual class, the attribute applies only to the interfaces exposed by that class and overrides any assembly-level setting.
]]></format>
</remarks>
<altmember cref="T:System.Runtime.InteropServices.IDispatchImplType" />
</Docs>
<Members>
<MemberGroup MemberName=".ctor">
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Initializes a new instance of the <see langword="IDispatchImplAttribute" /> class.</summary>
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public IDispatchImplAttribute (short implType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int16 implType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.IDispatchImplAttribute.#ctor(System.Int16)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (implType As Short)" />
<MemberSignature Language="F#" Value="new System.Runtime.InteropServices.IDispatchImplAttribute : int16 -> System.Runtime.InteropServices.IDispatchImplAttribute" Usage="new System.Runtime.InteropServices.IDispatchImplAttribute implType" />
<MemberSignature Language="C++ CLI" Value="public:
 IDispatchImplAttribute(short implType);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="implType" Type="System.Int16" />
</Parameters>
<Docs>
<param name="implType">Indicates which <see cref="T:System.Runtime.InteropServices.IDispatchImplType" /> enumeration will be used.</param>
<summary>Initializes a new instance of the <see langword="IDispatchImplAttribute" /> class with specified <see cref="T:System.Runtime.InteropServices.IDispatchImplType" /> value.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This constructor takes an underlying 16-bit signed integer that represents each <xref:System.Runtime.InteropServices.IDispatchImplType> enumeration member. The Type Library Importer (TlbImp.exe) uses this constructor to avoid generating a typeref to the `IDispatchImplType` value that `value` represents, and then builds the signature with that token.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public IDispatchImplAttribute (System.Runtime.InteropServices.IDispatchImplType implType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.Runtime.InteropServices.IDispatchImplType implType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.IDispatchImplAttribute.#ctor(System.Runtime.InteropServices.IDispatchImplType)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (implType As IDispatchImplType)" />
<MemberSignature Language="F#" Value="new System.Runtime.InteropServices.IDispatchImplAttribute : System.Runtime.InteropServices.IDispatchImplType -> System.Runtime.InteropServices.IDispatchImplAttribute" Usage="new System.Runtime.InteropServices.IDispatchImplAttribute implType" />
<MemberSignature Language="C++ CLI" Value="public:
 IDispatchImplAttribute(System::Runtime::InteropServices::IDispatchImplType implType);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="implType" Type="System.Runtime.InteropServices.IDispatchImplType" />
</Parameters>
<Docs>
<param name="implType">Indicates which <see cref="T:System.Runtime.InteropServices.IDispatchImplType" /> enumeration will be used.</param>
<summary>Initializes a new instance of the <see langword="IDispatchImplAttribute" /> class with specified <see cref="T:System.Runtime.InteropServices.IDispatchImplType" /> value.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For readable code that is less prone to error, always use this constructor.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Value">
<MemberSignature Language="C#" Value="public System.Runtime.InteropServices.IDispatchImplType Value { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Runtime.InteropServices.IDispatchImplType Value" />
<MemberSignature Language="DocId" Value="P:System.Runtime.InteropServices.IDispatchImplAttribute.Value" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Value As IDispatchImplType" />
<MemberSignature Language="F#" Value="member this.Value : System.Runtime.InteropServices.IDispatchImplType" Usage="System.Runtime.InteropServices.IDispatchImplAttribute.Value" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Runtime::InteropServices::IDispatchImplType Value { System::Runtime::InteropServices::IDispatchImplType get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Runtime.InteropServices.IDispatchImplType</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:System.Runtime.InteropServices.IDispatchImplType" /> value used by the class.</summary>
<value>The <see cref="T:System.Runtime.InteropServices.IDispatchImplType" /> value used by the class.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>