Project.GetObjectMatchingID Method
Project Developer Reference |
Returns the Matching ID of an object.
Syntax
expression.GetObjectMatchingID(ObjectType, ObjectName)
expression A variable that represents a Project object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
ObjectType | Required | Long | The type of object specified by pjOrganizer constants. |
ObjectName | Required | String | Display name of the object. |
Return Value
String
Remarks
You can use GetObjectMatchingID method to get the Matching ID in a multiple-language environment supported by the new OMIDS feature in Microsoft Office Project 2007.
Example
The following example gets the Matching ID of a jpView object type with the display name "My Gantt Chart".
Visual Basic for Applications |
---|
|
See Also