Address.GetComponentInteger(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.


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


keyName System.String

Return Value