ICustomProperties.Add Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Add ( _
Name As String, _
Value As Object _
) As CustomProperty
'Usage
Dim instance As ICustomProperties
Dim Name As String
Dim Value As Object
Dim returnValue As CustomProperty
returnValue = instance.Add(Name, Value)
CustomProperty Add(
string Name,
Object Value
)
Parameters
- Name
Type: System.String
- Value
Type: System.Object
Return Value
Type: Microsoft.Office.Interop.Excel.CustomProperty