Condividi tramite


CGopherConnection::GetAttribute

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

BOOL GetAttribute(
   CGopherLocator& refLocator
   CString strRequestedAttributes,
   CString& strResult,
);

Parameters

  • refLocator
    A reference to a CGopherLocator object.

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

  • strResult
    A reference to a CString that receives the locator type.

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.

Requirements

Header: afxinet.h

See Also

Reference

CGopherConnection Class

Hierarchy Chart

CFtpConnection Class

CHttpConnection Class

CInternetConnection Class

CGopherLocator Class

Other Resources

CGopherConnection Members