Returns a reference to an existing shared property identified by a string name.
Applies To
Syntax
Set property = propertygroup.Property(name)
Parameters
propertygroup
An object variable that represents the SharedPropertyGroup to which the SharedProperty object belongs.
property
An object variable that evaluates to a SharedProperty object.
name
A string expression that contains the name of the shared property to retrieve.
Remarks
You can use only Property to access properties that were created with the CreateProperty method. To access properties that were created with the CreatePropertyByPosition method, use PropertyByPosition.
See Also
Sharing State, ISharedPropertyGroup::CreateProperty Method, ISharedPropertyGroup::CreatePropertyByPosition Method, ISharedPropertyGroup::get_PropertyByPosition Method