ContainingMasterID 屬性 (Visio)Cell.ContainingMasterID property (Visio)

會傳回包含物件的Master物件的識別碼。Returns the ID of the Master object that contains an object. 唯讀。Read-only.

語法Syntax

運算式ContainingMasterIDexpression.ContainingMasterID

_運算式_代表**Cell** 物件的變數。expression A variable that represents a Cell object.

傳回值Return value

LongLong

備註Remarks

如果物件不在Master物件中, 則ContainingMasterID屬性會傳回-1。If the object is not in a Master object, the ContainingMasterID property returns -1. 例如,如果 Shape 物件屬於 Page 物件的 Shapes 集合,則 ContainingMasterID 屬性會傳回 -1。For example, if a Shape object belongs to the Shapes collection of a Page object, the ContainingMasterID property returns -1.

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.