Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IRoSimpleMetaDataBuilder::SetStruct method

Assigns a structure to the metadata builder.

Syntax


HRESULT SetStruct(
  PCWSTR name,
  UINT32 numFields,
  [in]  PCWSTR fieldTypeNames
);

Parameters

name

Type: PCWSTR

The fully qualified name of the specified structure type.

numFields

Type: UINT32

The number of fields in the structure, specifying the length of the fieldTypeNames array.

fieldTypeNames [in]

Type: PCWSTR

An array of strings specifying the types of each field in the structure, in the order that they appear in metadata. This order matches layout order in memory.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Roparameterizediid.h

See also

IRoSimpleMetaDataBuilder

 

 

Community Additions

Show:
© 2014 Microsoft