Removes a property from the set.
[Visual Basic 6.0] Sub RemoveProperty(
ByVal Name As String _
)
[Visual Basic .NET] Public Sub RemoveProperty ( _ ByVal Name As String _ )
[C#] public void RemoveProperty ( string Name );
[Java] public void removeProperty ( String Name ) throws IOException, AutomationException
[C++]
HRESULT RemoveProperty(
BSTR Name
);
Parameters
Name [in]
Name is a parameter of type BSTR
'This small example uses the RemoveProperty method to delete
'the specified element
Dim pGxApp As IGxApplication
Dim pGxObj As IGxObject
Dim pMD As IMetadata
Dim pPS As IPropertySet
Set pGxApp = Application
Set pGxObj = pGxApp.SelectedObject
Set pMD = pGxObj
Set pPS = pMD.Metadata
'Removes the Title element
pPS.RemoveProperty ("idinfo/citation/citeinfo/title")
'save the metadata changes
pMD.Metadata = pPS