/
SharedProperty.xml
75 lines (69 loc) · 3.89 KB
/
SharedProperty.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
<Type Name="SharedProperty" FullName="System.EnterpriseServices.SharedProperty">
<TypeSignature Language="C#" Value="public sealed class SharedProperty" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit SharedProperty extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.EnterpriseServices.SharedProperty" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class SharedProperty" />
<TypeSignature Language="F#" Value="type SharedProperty = class" />
<TypeSignature Language="C++ CLI" Value="public ref class SharedProperty sealed" />
<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.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.InteropServices.ComVisible(false)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.ComVisible(false)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Accesses a shared property. This class cannot be inherited.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code example shows how to create a shared property and set and retrieve the value stored in the shared property.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/CPP/receiptcounterclass.cpp" id="Snippet0":::
:::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.cs" id="Snippet0":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/VB/receiptcounterclass.vb" id="Snippet0":::
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="Value">
<MemberSignature Language="C#" Value="public object Value { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance object Value" />
<MemberSignature Language="DocId" Value="P:System.EnterpriseServices.SharedProperty.Value" />
<MemberSignature Language="VB.NET" Value="Public Property Value As Object" />
<MemberSignature Language="F#" Value="member this.Value : obj with get, set" Usage="System.EnterpriseServices.SharedProperty.Value" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Object ^ Value { System::Object ^ get(); void set(System::Object ^ value); };" />
<MemberType>Property</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>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the value of the shared property.</summary>
<value>The value of the shared property.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code example shows how to use the `Value` property to retrieve the value stored in a shared property.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/CPP/receiptcounterclass.cpp" id="Snippet3":::
:::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.cs" id="Snippet3":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/VB/receiptcounterclass.vb" id="Snippet3":::
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>