Address.GetComponentInteger Method

Language:

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 GetComponentInteger( _
    ByVal keyName As String _
) As Integer
C# public int GetComponentInteger(
    string keyName
);
C++ public:
int GetComponentInteger(
    StringkeyName
);
JScript public function GetComponentInteger(
    keyName : String
) : int;

Parameters

keyName System.String

Return Value

System.Int32


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center