Share via


Address.GetComponentString(String) Method (Microsoft.DirectX.DirectPlay)

Warning: This method is deprecated. Deprecated components of Microsoft DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.

Retrieves information on the component at the specified key. Values for the component are retrieved in their native format. If the component key is not found, DPNERR_DOESNOTEXIST is returned.The value of the component is retrieved in its native format. Therefore, if the component's value is a , a is retrieved by this call. So buffer size = 4 and should be a recast . Deprecated.

Definition

Visual Basic Public Function GetComponentString( _
    ByVal keyName As String _
) As String
C# public string GetComponentString(
    string keyName
);
C++ public:
StringLeave SiteGetComponentString(
    StringLeave SitekeyName
);
JScript public function GetComponentString(
    keyName : String
) : String;

Parameters

keyName System.String

Return Value

System.String