/* ** GENEREATED FILE - DO NOT MODIFY ** */
package com.wilutions.mslib.uccollaborationlib;
import com.wilutions.com.*;
/**
* ShareableContentPropertyDictionary.
* ShareableContentPropertyDictionary Class
*/
@CoClass(guid="{235B711C-6FA3-4F91-B50E-36ED53B3801F}")
public class ShareableContentPropertyDictionary extends Dispatch implements IShareableContentPropertyDictionary {
static boolean __typelib__loaded = __TypeLib.load();
@DeclDISPID(1610743808) public Integer getCount() throws ComException {
final Object obj = this._dispatchCall(1610743808,"Count", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(0) public Object getItem(final ShareableContentProperty _propertyType) throws ComException {
assert(_propertyType != null);
final Object obj = this._dispatchCall(0,"Item", DISPATCH_PROPERTYGET,null,_propertyType.value);
if (obj == null) return null;
return (Object)obj;
}
@DeclDISPID(1610743810) public ShareableContentProperty[] getKeys() throws ComException {
final Object obj = this._dispatchCall(1610743810,"Keys", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (ShareableContentProperty[])obj;
}
@DeclDISPID(1610743811) public Object[] getValues() throws ComException {
final Object obj = this._dispatchCall(1610743811,"Values", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Object[])obj;
}
@DeclDISPID(1610743812) public Boolean TryGetValue(final ShareableContentProperty _propertyType, final ByRef<Object> _itemValue) throws ComException {
assert(_propertyType != null);
assert(_itemValue != null);
final Object obj = this._dispatchCall(1610743812,"TryGetValue", DISPATCH_METHOD,null,_propertyType.value,_itemValue);
if (obj == null) return null;
return (Boolean)obj;
}
@DeclDISPID(1610743813) public ShareableContentProperty GetKeyAt(final Integer _index) throws ComException {
assert(_index != null);
final Object obj = this._dispatchCall(1610743813,"GetKeyAt", DISPATCH_METHOD,null,_index);
if (obj == null) return null;
return ShareableContentProperty.valueOf((Integer)obj);
}
@DeclDISPID(1610743814) public Object GetValueAt(final Integer _index) throws ComException {
assert(_index != null);
final Object obj = this._dispatchCall(1610743814,"GetValueAt", DISPATCH_METHOD,null,_index);
if (obj == null) return null;
return (Object)obj;
}
@DeclDISPID(1610743815) public Boolean ContainsKey(final ShareableContentProperty _propertyType) throws ComException {
assert(_propertyType != null);
final Object obj = this._dispatchCall(1610743815,"ContainsKey", DISPATCH_METHOD,null,_propertyType.value);
if (obj == null) return null;
return (Boolean)obj;
}
public ShareableContentPropertyDictionary() throws ComException {
super("{235B711C-6FA3-4F91-B50E-36ED53B3801F}", "{CA478B44-4FCE-4082-8700-8CEC69FB50E1}");
}
protected ShareableContentPropertyDictionary(long ndisp) {
super(ndisp);
}
public String toString() {
return "[ShareableContentPropertyDictionary" + super.toString() + "]";
}
}