Düzenle

Aracılığıyla paylaş


Document.ClassID property (Visio)

Returns the class ID string of the container application in which the document is embedded. Read-only.

Syntax

expression.ClassID

expression A variable that represents a Document object.

Return value

String

Remarks

If the class ID of the container application in which the document is embedded cannot be retrieved, the ClassID property raises an exception. If the document is not embedded in a container, the ClassID property returns an empty string.

ClassID returns a string of the form:

    {2287DC42-B167-11CE-88E9-002AFDDD917}

This string identifies the application that contains the document. It might, for example, identify the document's container as a Microsoft Excel object.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.