共用方式為


編譯器錯誤 C3087

'named_argument: 'attribute' 的呼叫已將此成員初始化

具名引數指定在與相同值之未命名引數的相同屬性區塊中。 請只指定具名或未命名的引數。

範例

下列範例會產生 C3087:

// C3087.cpp
// compile with: /c
[idl_quote("quote1", text="quote2")];   // C3087
[idl_quote(text="quote3")];   // OK
[idl_quote("quote4")];   // OK