Share via


XFileData.Name Property (Microsoft.DirectX.Direct3D)

Retrieves the name of this file data object.

Definition

Visual Basic Public ReadOnly Property Name As String
C# public string Name { get; }
C++ public:
property StringLeave Site^ Name {
        StringLeave Site^ get();
}
JScript public function get Name() : String

Property Value

System.String
The name of this file data object.

This property is read-only. 

Remarks

Exception GraphicsException.ErrorCode Cause
GraphicsException XFileErrorCodes.BadValue A variable is outside its expected range; typically returned when an object is invalid.
OutOfMemoryExceptionLeave Site N/A Microsoft Direct3D could not allocate sufficient memory to complete the call.