CGopherConnection::GetAttribute

BOOL GetAttribute( LPGOPHER_ATTRIBUTE_TYPE& lpType, CString strRequestedAttributes, CGopherLocator& refLocator );

Return Value

Nonzero if successful; otherwise 0. If the call fails, the Win32 function GetLastError may be called to determine the cause of the error.

Parameters

lpType

A pointer to a GOPHER_ATTRIBUTE_TYPE structure. See the ActiveX SDK for more information about this structure.

strRequestedAttributes

A space-delimited string specifying the names of the requested attributes.

refLocator

A reference to a CGopherLocator object.

Remarks

Call this member function to retrieve specific attribute information about an item from the gopher server.

CGopherConnection OverviewClass MembersHierarchy Chart

See Also   CFtpConnection, CHttpConnection, CInternetConnection, CGopherLocator