Share via


OLEFormat.ProgID Property

Returns the programmatic identifier (ProgID) for the specified OLE object.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
ReadOnly Property ProgID As String
    Get
'Usage
Dim instance As OLEFormat
Dim value As String

value = instance.ProgID
string ProgID { get; }

Property Value

Type: System.String

Remarks

The ProgID and ClassType properties will (by default) return the same string. However, you can change the ClassType property for DDE links.

Security Dynamic data exchange (DDE) is an older technology that is not secure. If possible, use a more secure alternative to DDE.

See Also

Reference

OLEFormat Interface

OLEFormat Members

Microsoft.Office.Interop.Word Namespace