The value of the specified property.
[Visual Basic 6.0] Function GetProperty(
ByVal Name As String _
) As Variant
[Visual Basic .NET] Public Function GetProperty ( ByVal Name As String _ ) As Object
[C#] public object GetProperty ( string Name );
[C++] public: Object* GetProperty ( String* Name );
The Name parameter uses XSL Patterns to specify metadata elements. Additional information on XSL can be found in the the IXmlPropertySet documentation.
'The following code returns the Distribution Contact Names
Dim pPS As PropertySet
Dim vValues as Variant
Dim v as Variant
Dim s As String
'Returns the Distribution Contact Names
vValues = pPS.getProperty("distinfo/distrib/cntinfo/cntperp/cntper")
s = "Distribution Contact Names: " & vbNewLine
For Each v In vValues
s = s & " " & v & vbNewLine
Next
MsgBox s