-
Notifications
You must be signed in to change notification settings - Fork 7
/
IPropertyBag.xml
123 lines (123 loc) · 7.66 KB
/
IPropertyBag.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
<Type Name="IPropertyBag" FullName="Microsoft.Office.Interop.InfoPath.IPropertyBag">
<TypeSignature Language="C#" Value="public interface IPropertyBag" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IPropertyBag" />
<TypeSignature Language="DocId" Value="T:Microsoft.Office.Interop.InfoPath.IPropertyBag" />
<TypeSignature Language="VB.NET" Value="Public Interface IPropertyBag" />
<TypeSignature Language="C++ CLI" Value="public interface class IPropertyBag" />
<TypeSignature Language="F#" Value="type IPropertyBag = interface" />
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.Guid("55272A00-42CB-11CE-8135-00AA004BB851")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.InterfaceType(1)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Implemented to create a read-only object to contain printer settings for passing to the Import method of a custom data importer. </summary>
<remarks>
<para>An implementation of the <b>IPropertyBag</b> interface should expose the following values.</para>
<list type="table">
<item>
<term>PageSize</term>
<description>Returns an unparsed string corresponding to the current page size, such as "A4", "B4", "Letter", and so on.</description>
</item>
<item>
<term>TopMargin</term>
<description>The size of the top margin.</description>
</item>
<item>
<term>BottomMargin</term>
<description>The size of the bottom margin.</description>
</item>
<item>
<term>LeftMargin</term>
<description>The size of the left margin.</description>
</item>
<item>
<term>RightMargin</term>
<description>The size of the right margin.</description>
</item>
<item>
<term>MarginUnitsType</term>
<description>The type of unit used for measuring margins.</description>
</item>
</list>
<para>
<b>Note</b>: These values will not be available if the user has no installed printers.</para>
<para>A custom data importer is created by implementing the <see cref="T:Microsoft.Office.Interop.InfoPath.IInfoPathDataImporter" /> interface. For more information about programmatically importing data into an InfoPath form, see the <a href="http://go.microsoft.com/fwlink?LinkID=11689">InfoPath Developer Portal</a></para>
<para />
</remarks>
</Docs>
<Members>
<Member MemberName="RemoteRead">
<MemberSignature Language="C#" Value="public void RemoteRead (string pszPropName, out object pVar, Microsoft.Office.Interop.InfoPath.IErrorLog pErrorLog, uint varType, object pUnkObj);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RemoteRead([in]string pszPropName, [out] object& pVar, [in]class Microsoft.Office.Interop.InfoPath.IErrorLog pErrorLog, [in]unsigned int32 varType, [in]object pUnkObj) runtime managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.IPropertyBag.RemoteRead(System.String,System.Object@,Microsoft.Office.Interop.InfoPath.IErrorLog,System.UInt32,System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Sub RemoteRead (pszPropName As String, ByRef pVar As Object, pErrorLog As IErrorLog, varType As UInteger, pUnkObj As Object)" />
<MemberSignature Language="C++ CLI" Value="public:
 void RemoteRead(System::String ^ pszPropName, [Runtime::InteropServices::Out] System::Object ^ % pVar, Microsoft::Office::Interop::InfoPath::IErrorLog ^ pErrorLog, System::UInt32 varType, System::Object ^ pUnkObj);" />
<MemberSignature Language="F#" Value="abstract member RemoteRead : string * * Microsoft.Office.Interop.InfoPath.IErrorLog * uint32 * obj -> unit" Usage="iPropertyBag.RemoteRead (pszPropName, pVar, pErrorLog, varType, pUnkObj)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pszPropName" Type="System.String" />
<Parameter Name="pVar" Type="System.Object" RefType="out" />
<Parameter Name="pErrorLog" Type="Microsoft.Office.Interop.InfoPath.IErrorLog" />
<Parameter Name="varType" Type="System.UInt32" />
<Parameter Name="pUnkObj" Type="System.Object" />
</Parameters>
<Docs>
<param name="pszPropName">To be added.</param>
<param name="pVar">To be added.</param>
<param name="pErrorLog">A pointer to an <see cref="T:Microsoft.Office.Interop.InfoPath.IErrorLog" /> object.</param>
<param name="varType">To be added.</param>
<param name="pUnkObj">To be added.</param>
<summary>Used to read printer settings for populating an <see cref="T:Microsoft.Office.Interop.InfoPath.IPropertyBag" /> object in a custom data importer.</summary>
<remarks>
<para>A custom data importer is created by implementing the <see cref="T:Microsoft.Office.Interop.InfoPath.IInfoPathDataImporter" /> interface. For more information about programmatically importing data into an InfoPath form, see the <a href="http://go.microsoft.com/fwlink?LinkID=11689">InfoPath Developer Portal</a></para>
<para />
</remarks>
</Docs>
</Member>
<Member MemberName="Write">
<MemberSignature Language="C#" Value="public void Write (string pszPropName, ref object pVar);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Write([in]string pszPropName, [in]object& pVar) runtime managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.IPropertyBag.Write(System.String,System.Object@)" />
<MemberSignature Language="VB.NET" Value="Public Sub Write (pszPropName As String, ByRef pVar As Object)" />
<MemberSignature Language="C++ CLI" Value="public:
 void Write(System::String ^ pszPropName, System::Object ^ % pVar);" />
<MemberSignature Language="F#" Value="abstract member Write : string * -> unit" Usage="iPropertyBag.Write (pszPropName, pVar)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pszPropName" Type="System.String" />
<Parameter Name="pVar" Type="System.Object" RefType="ref" />
</Parameters>
<Docs>
<param name="pszPropName">N/A</param>
<param name="pVar">N/A</param>
<summary>Available to the implementation of the <see cref="T:Microsoft.Office.Interop.InfoPath.IPropertyBag" /> interface of a custom data importer, but always returns E_ACCESSDENIED.</summary>
<remarks>
<para>A custom data importer is created by implementing the <see cref="T:Microsoft.Office.Interop.InfoPath.IInfoPathDataImporter" /> interface. For more information about programmatically importing data into an InfoPath form, see the <a href="http://go.microsoft.com/fwlink?LinkID=11689">InfoPath Developer Portal</a></para>
<para />
</remarks>
</Docs>
</Member>
</Members>
</Type>