# IRdNtAddress Interface Reference

Inherits IDispatch.

List of all members.

## Public Member Functions
HRESULT | Clear (void)
HRESULT | SetFromURL ([in] BSTR bstrSourceURL)
HRESULT | GetURL ([out, retval] BSTR *pbstrURL)
HRESULT | EqualTo ([in] IRdNtAddress *pRdNtAddress)

## Detailed Description

Used to store URL.

## Member Function Documentation

HRESULT IRdNtAddress::Clear | ( | void |  | ) |

Clears the data object.

        var ntAdd = System.CreateDO('Network Package/Net Address Data');
        ntAdd.Clear();

HRESULT IRdNtAddress::SetFromURL | ( | [in] BSTR | bstrSourceURL | ) |

Call to store the URL into the data object.

Parameters:

  | bstrSourceURL | [in] URL you want to store.

        var ntAdd = System.CreateDO('Network Package/Net Address Data');
        ntAdd.SetFromURL('//tpportal.caligari.com/1111');

HRESULT IRdNtAddress::GetURL | ( | [out, retval] BSTR * | pbstrURL | ) |

Call to get stored URL from the data object

Returns:
  pbstrURL [out, retval] Returns the stored URL.

        var ntAdd = System.CreateDO('Network Package/Net Address Data');
        var a = ntAdd.GetURL();

HRESULT IRdNtAddress::EqualTo | ( | [in] IRdNtAddress * | pRdNtAddress | ) |

Call to compare this object with another one

Parameters:

  | pRdNtAddress | [in] Specify another IRdNtAddress you want to compare.

Returns:
  S_OK if the objects store equal URL or S_FALSE if they don't.

        var ntAdd = System.CreateDO('Network Package/Net Address Data');
        ntAdd.SetFromURL('//tpportal.caligari.com/1111');
        var ntAdd1 = System.CreateDO('Network Package/Net Address Data');
        ntAdd1.SetFromURL('//tpportal.caligari.com/1111');
        var a = ntAdd.EqualTo(ntAdd1);