UCOMIStream.Stat(STATSTG, Int32) 方法

定義

擷取這個資料流的 STATSTG 結構。Retrieves the STATSTG structure for this stream.

public:
 void Stat([Runtime::InteropServices::Out] System::Runtime::InteropServices::STATSTG % pstatstg, int grfStatFlag);
public void Stat (out System.Runtime.InteropServices.STATSTG pstatstg, int grfStatFlag);
abstract member Stat : STATSTG * int -> unit
Public Sub Stat (ByRef pstatstg As STATSTG, grfStatFlag As Integer)

參數

pstatstg
STATSTG

在成功傳回時,含有描述這個資料流物件的 STATSTG 結構。On successful return, contains a STATSTG structure which describes this stream object.

grfStatFlag
Int32

指定 STATSTG 結構中這個方法沒有傳回的某些成員,以節省一些記憶體配置作業。Specifies some of the members in the STATSTG structure that this method does not return, thus saving some memory allocation operations.

備註

如需詳細資訊,請參閱 MSDN library 中的 IStream::Stat 的現有檔。For more information, please see the existing documentation for IStream::Stat in the MSDN library.

適用於