2008-09-25 6 views

답변

35

:

[return: MarshalAs(<your marshal type>)] 
public ISomething Foo() 
{ 
    return new MyFoo(); 
} 
2
[return:MarshalAs] 
public ISomething Foo() 
{ 
    return new MyFoo(); 
}